Re: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-12 Thread Lukasz Lenart
I updated the Getting Started guide to Struts 7 https://github.com/apache/struts-site/pull/272 Cheers Łukasz - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.o

Re: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-12 Thread Lukasz Lenart
pt., 11 lip 2025 o 07:58 IGRA TRANSFORMING KNOWLEDGE napisał(a): > > can anyone share the code of crud operation using strut7. > > however, still struts official displaying 2.5 version > https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application That shouldn't be a problem,

Re: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-10 Thread IGRA TRANSFORMING KNOWLEDGE
asz, > Following up on this, does this mean, we will have to migrate to > Struts 7 when taking up WLS 15 which supports jakartax.*? > > ~K > > > -Original Message- > From: Lukasz Lenart > Sent: Wednesday, July 9, 2025 10:31 AM > To: Struts Users Mailing List &

Re: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-10 Thread Lukasz Lenart
uts 7 when taking up WLS 15 which supports jakartax.*? > > ~K > > > -Original Message- > From: Lukasz Lenart > Sent: Wednesday, July 9, 2025 10:31 AM > To: Struts Users Mailing List > Subject: [External] : Re: Struts 7 upgrade - looking for the > javax.servl

RE: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-10 Thread Krishnaraj Viswanathan
Lukasz, Following up on this, does this mean, we will have to migrate to Struts 7 when taking up WLS 15 which supports jakartax.*? ~K -Original Message- From: Lukasz Lenart Sent: Wednesday, July 9, 2025 10:31 AM To: Struts Users Mailing List Subject: [External] : Re: Struts

Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-08 Thread Lukasz Lenart
After asking Perplexity I got such an answer: WebLogic 14c is compatible with Jakarta EE 8 only. It does not support Jakarta EE 9 or later versions, which introduce the new `jakarta.*` namespace Cheers Lukasz pon., 7 lip 2025 o 20:43 Arsen Milutsa napisał(a): > > Hello, > > Getting the complianc

Re: struts-tag property in javascript

2025-06-10 Thread Dave Newton
On Tue, Jun 10, 2025 at 13:37 Lukasz Lenart wrote: > Nope, basically ${} means "use JSP EL" which is prohibited "inside" S2 > tags, using %{} means "use OGNL expression" which is fine. Oops, forgot about that smh d

Re: struts-tag property in javascript

2025-06-10 Thread Lukasz Lenart
wt., 10 cze 2025 o 18:23 Ute Kaiser napisał(a): > > Update after more investigating Nate's answer: > > onclick="document.getElementById('deleteid').value='%{id}';"> > > Using ${id} threw an error (I suppose my config not fit for JSP EL) Nope, basically ${} means "use JSP EL" which is prohibited

RE: struts-tag property in javascript

2025-06-10 Thread Ute Kaiser
Update after more investigating Nate's answer: Using ${id} threw an error (I suppose my config not fit for JSP EL) Best regards Ute - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail:

Aw: RE: struts-tag property in javascript

2025-06-06 Thread Ute Kaiser
Hi and thx for your fast answers. I am aware that migration could go much deeper in cleaning up but rewriting the action und jsp files is fissel work enough at the moment. Dave's answer "But you should be able use standard JSP EL iirc." inspired me. First I did not understand (never used EL), th

RE: struts-tag property in javascript

2025-06-06 Thread Nate Kerkhofs
server values, you can put those in a separate script tag inside the head of your page using s:property tags: var jsProperty = <s:property value="id" />; Nate -Original Message- From: Dave Newton Sent: Friday, 6 June 2025 15:58 To: Struts Users Mailing List Subject

Re: struts-tag property in javascript

2025-06-06 Thread Dave Newton
On Fri, Jun 6, 2025 at 09:14 Ute Kaiser wrote: > Hi, > migrating from Struts1 I encounter in a jsp the error "Equal symbol > expected" at the "onclick" row. > I think my old quotes do not work any more with Struts2. > > Struts1: > > > onclick="javascript:if(confirmDelete()){document.getElemen

Re: Struts 7.0 issue with Ftl

2025-05-28 Thread Lukasz Lenart
czw., 29 maj 2025 o 05:24 Priyanka Vaddadi napisał(a): > when I replace > <#if parameters.nameValue??> > value="<@s.property value="parameters.nameValue"/>"<#rt/> > with > > <#if attributes.name??> > value="<@s.property value="%{attributes.name}"/>"<#rt/> > Why do you replace "nameValue" with "

RE: Struts 7.0 issue with Ftl

2025-05-28 Thread Priyanka Vaddadi
ame displayed in text box but not parameter value Please help me with this Thank and Regards Priyanka From: Priyanka Vaddadi Sent: Wednesday, May 28, 2025 6:55 AM To: user@struts.apache.org Subject: RE: Struts 7.0 issue with Ftl Hi When I change below code <#if parameters.disabled?string?

Re: Struts 7.0 issue with Ftl

2025-05-28 Thread Dave Newton
On Wed, May 28, 2025 at 09:58 Priyanka Vaddadi wrote: The following has evaluated to null or missing: ==> attributes.disabled [in template "template/wam/text.ftl" at line 51, column 6] If the app has its own theme/templates/etc they may need updating. * https://struts.apache.org/getting-star

RE: Struts 7.0 issue with Ftl

2025-05-28 Thread Priyanka Vaddadi
Hi When I change below code <#if parameters.disabled?string?lower_case == "true"> disabled="disabled"<#rt/> with <#if attributes.disabled?string?lower_case == "true"> disabled="disabled"<#rt/> I am getting below error FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!) T

Re: Struts 7.0 issue with Ftl

2025-05-28 Thread Lukasz Lenart
śr., 28 maj 2025 o 12:25 Priyanka Vaddadi napisał(a): > > Hi > > I am getting below error while loading the page after migrating to struts 7 > Pleaselet me know what could be the issue > > > Template inclusion failed (for parameter value > "/Empty{name='templateDir'}/simple/checkbox.ftl"): > Temp

Re: Struts 7 issue while posting the data

2025-05-16 Thread Dave Newton
ptor.java:92) > > deployment.ems.war//org.apache.struts2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:311) > > deployment.ems.war//org.apache.struts2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265) > > deployment.ems.war//org.apache.struts2.i

RE: Struts 7 issue while posting the data

2025-05-16 Thread Priyanka Vaddadi
.intercept(ActionFileUploadInterceptor.java:151) deployment.ems.war//org.apache.struts2.DefaultActionInvocation.executeCondition From: Priyanka Vaddadi Sent: Friday, May 16, 2025 1:48 PM To: user@struts.apache.org Subject: RE: Struts 7 issue while posting the data Hi Sorry . I attached incorrect

Re: Struts 7 issue while posting the data

2025-05-16 Thread Prasanth
See https://struts.apache.org/security/#defining-and-annotating-your-action-parameters On 5/16/25 4:34 PM, Dave Newton wrote: On Fri, May 16, 2025 at 17:24 Priyanka Vaddadi wrote: Parameter injection for method [getSupplierMgmtSearchData] on Action [gov.ca.doj.ems.action.CgSupplierMgmtSearch

Re: Struts 7 issue while posting the data

2025-05-16 Thread Dave Newton
On Fri, May 16, 2025 at 17:24 Priyanka Vaddadi wrote: > Parameter injection for method [getSupplierMgmtSearchData] on Action > [gov.ca.doj.ems.action.CgSupplierMgmtSearchAction] rejected. Ensure it is > annotated with @StrutsParameter with an appropriate 'depth'. Is it? The previous snippet sho

RE: Struts 7 issue while posting the data

2025-05-16 Thread Priyanka Vaddadi
with an appropriate 'depth'. Thanks and Regards Priyanka From: Priyanka Vaddadi Sent: Friday, May 16, 2025 11:51 AM To: user@struts.apache.org Subject: RE: Struts 7 issue while posting the data Hi I tried using depth = 1 as below public final class CgSupplierMgmtSearchAction e

Re: Struts 7 issue while posting the data

2025-05-16 Thread Prasanth
The class you have listed below is CgSupplierMgmtSearchAction while the error message is for another class. Parameter injection for method [getFundraiserMgmtSearchData] on Action [gov.ca.doj.ems.action.CgFundraiserMgmtSearchAction] rejected -Prasanth On 5/16/25 1:51 PM, Priyanka Vaddadi wrot

RE: Struts 7 issue while posting the data

2025-05-16 Thread Priyanka Vaddadi
Hi I tried using depth = 1 as below public final class CgSupplierMgmtSearchAction extends EmsWebAction implements ValidationAware { private SupplierSearchData supplierMgmtSearchData; @StrutsParameter(depth = 1) public void setSupplierMgmtSearchData(SupplierSearchData supplierMgmtSearchData)

Re: Struts 7 issue while posting the data

2025-05-15 Thread Prasanth
You have to annotate the set method for that class in your action with @StrutsParameter(depth=1). int depth The depth to which parameter injection is permitted, where a depth of 0 only allows setters/fields directly on the action class. Setting within a POJO on an ac

Aw: RE: Struts 7 problem

2025-05-12 Thread Ute Kaiser
case seems to be different (MY or My). Best regards Ute Gesendet: Freitag, 9. Mai 2025 um 23:59 Von: "Deborah White" An: "Struts Users Mailing List" Betreff: RE: Struts 7 problem And another one is: I tried adding which did not work. I am not seeing correct screens based on

Aw: RE: Struts 7 problem

2025-05-12 Thread Ute Kaiser
Maybe it helps: I could see: Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest Struts7 uses jakarta, not javax Mit freundlichen Grüßen Ute Kaiser Gesendet: Freitag, 9. Mai 2025 um 23:54 Von: "Deborah White" An: "Struts Users Mailing List" B

Aw: Re: Struts 7 problem

2025-05-10 Thread Wolfgang Knauf
m 00:49 > Von: "Dave Newton" > An: "Struts Users Mailing List" > Betreff: Re: Struts 7 problem > > Tangential, but I’d consider wrapping up long OGNL excursions somewhere > else besides the view layer. > > em: davelnew...@gmail.com > mo: 908-380-8699 &

Re: Struts 7 problem

2025-05-09 Thread Dave Newton
am_Manager") || > #request["MYUtils"].isUserInRole("Audit_Supervisor") || > #request["MYUtils"].isUserInRole("Audit_Staff") || > #request["MYUtils"].isUserInRole("Level_1_Processor") || > #request["MYUtils"].isUs

Re: Struts 7 problem

2025-05-09 Thread Prasanth
'struts.allowlist.classes' or 'struts.allowlist.packageNames' configuration. 14:56:11,308 WARN  [org.apache.struts2.ognl.SecurityMemberAccess] (default task-1) Declaring class [class gov.ca.doj.sotas.databean.UserData] of member type [public int gov.ca.doj.sotas.databean.Use

RE: Struts 7 problem

2025-05-09 Thread Deborah White
sses' or 'struts.allowlist.packageNames' configuration. 14:56:11,308 WARN [org.apache.struts2.ognl.SecurityMemberAccess] (default task-1) Declaring class [class gov.ca.doj.sotas.databean.UserData] of member type [public int gov.ca.doj.sotas.databean.UserData.getPwdDaysToExp()] is not allowlisted!

RE: Struts 7 problem

2025-05-09 Thread Deborah White
iser Sent: Friday, May 9, 2025 2:50 PM To: user@struts.apache.org Subject: Re: Struts 7 problem EXTERNAL EMAIL: This message was sent from outside DOJ. Please do not click links or open attachments that appear suspicious. Security<https://urldefense.proofpoint.com/v

Re: Struts 7 problem

2025-05-09 Thread Ute Kaiser
th: #request["MYUtils"].isUserInRole("Program_Manager") || #request["MYUtils"].isUserInRole("Audit_Supervisor") || #request["MYUtils"].isUserInRole("Audit_Staff") || #request["MYUtils"].isUserInRole("Level_1_Processor") || #request[&

RE: Struts 7 problem

2025-05-09 Thread Deborah White
quot;MYUtils"].isUserInRole("Audit_Staff") || #request["MYUtils"].isUserInRole("Level_1_Processor") || #request["MYUtils"].isUserInRole("Level_2_Processor") || #request["MYUtils"].isUserInRole("Level_3_Process

Re: Struts 7 problem

2025-05-09 Thread Wolfgang Knauf
Hi Deborah, could be a matter of casing - the attribute is "escapeHtml": https://struts.apache.org/tag-developers/property-tag.html Does this help? Wolfgang Am 09.05.25 um 20:15 schrieb Deborah White: I am getting this error after migrating to Struts 7.0.0. JBWEB004251: An error occurred a

Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread Lukasz Lenart
wt., 28 sty 2025 o 15:25 John Wilson napisał(a): > In the meantime, is it possible to create a custom TypeConverterCreator to > then call upon the createBean method and get this working? > > Maybe implement the TypeConverterCreator and redefine in struts.xml? Yes, it should be possible, implement

Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread John Wilson
Hi Lukasz, Thanks I will request a jira account and open a ticket. In the meantime, is it possible to create a custom TypeConverterCreator to then call upon the createBean method and get this working? Maybe implement the TypeConverterCreator and redefine in struts.xml? -J On Tue, Jan 28, 2025

Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread Lukasz Lenart
wt., 28 sty 2025 o 14:22 John Wilson napisał(a): > I did go through the constants and update as required. We have the > typeconverters defined application wide using the > struts-conversion.properties. > > Although I’m wondering if this a bug related to > > https://issues.apache.org/jira/browse/WW

Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread John Wilson
Hi Lukasz, I did go through the constants and update as required. We have the typeconverters defined application wide using the struts-conversion.properties. Although I’m wondering if this a bug related to https://issues.apache.org/jira/browse/WW-4996?jql=project%20%3D%20WW%20AND%20fixVersion%20

Re: Re: Struts 2.5.x to 6.4.0

2025-01-27 Thread Lukasz Lenart
pon., 27 sty 2025 o 15:31 John Wilson napisał(a): > > Yes. It should be using Spring to inject it as it did on 2.5.33. > > We have the struts2-spring-plugin which my understanding sets the object > factory in the web.xml to spring. I don't recall any major changes around Spring, maybe it's relate

RE: Re: Struts 2.5.x to 6.4.0

2025-01-27 Thread John Wilson
Yes. It should be using Spring to inject it as it did on 2.5.33. We have the struts2-spring-plugin which my understanding sets the object factory in the web.xml to spring. On 2025/01/26 06:29:29 Lukasz Lenart wrote: > czw., 23 sty 2025 o 17:51 jw1474674 napisał(a): > > Hi, I’m facing issues upg

Re: Struts 2.5.x to 6.4.0

2025-01-25 Thread Lukasz Lenart
czw., 23 sty 2025 o 17:51 jw1474674 napisał(a): > Hi, I’m facing issues upgrading struts versions. > In particular with a custom StrutsTypeConverter. > > The custom converter has a @PersistenceContext annotation for the > EntityManager which used to work. > > The entityManager is used to find clas

Re: Struts 6.7.0 and xwork2 packages

2025-01-23 Thread Heikki Hyyrö
Thanks Wolfgang, this was the culprit for that particular problem! But well, after disabling annotations, the app started to have other problems. I will write about that as a reply to another more related thread. -Heikki Wolfgang Knauf kirjoitti 20.1.2025 klo 23.12: Hi Heikki, your descrip

Re: Struts 6.7.0 and xwork2 packages

2025-01-20 Thread Lukasz Lenart
As Wolfgang mentioned this can be the reason, I recommend reviewing all the security changes [1] as many of them can impact your application. Other problem that can impact your app is allowlist capability [2] [1] https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=293046977#Struts6.x

Re: Struts 6.7.0 and xwork2 packages

2025-01-20 Thread Wolfgang Knauf
Hi Heikki, your description sounds like this parameter injection change: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=293046977#Struts6.x.xto7.x.xmigration-Actionparameterinjection For testing purposes, you might disable this security feature completely: struts.parameters.req

Re: Struts 6.7.0 and xwork2 packages

2025-01-20 Thread Heikki Hyyrö
Dear all, I might(?) have a similar problem. When I upgragded Struts 2 version from 6.3.0.2 to 7.0.0 and replaced xworks2 imports by their struts2 counterparts, one problem is that the application's actions no longer receive parameters from html forms. I suppose this could be caused by an int

Re: Struts 6.7.0 and xwork2 packages

2025-01-09 Thread Lukasz Lenart
śr., 8 sty 2025 o 21:26 Tellis, Wyatt napisał(a): > I recently upgraded my app to 6.7.0 and saw that many classes are deprecated > due to the renaming of the xwork2 packages. I tried changing the imports to > use the org.apache.struts2 equivalents, but my application no longer works. > Everyth

Re: Struts 7.0.0 - JSP rendering is taking 3X time compare to struts 6.3.0.2

2024-12-26 Thread Lukasz Lenart
Could you prepare a sample app instead of sending your Java & JSP code? I already tried to reproduce your problem yet using Struts tags and everything is perfectly fine. Also why do you use instead of ? Cheers Lukasz czw., 26 gru 2024 o 11:08 Dipak Tank napisał(a): > > > Hi > > After upgradin

Re: Struts 7 Release Date (GA)

2024-12-18 Thread Lukasz Lenart
śr., 18 gru 2024 o 08:30 Abhinandan Agarwal napisał(a): > > Hi, > Wanted to know a tentative date for the release of Struts 7 GA. It's under Vote now https://lists.apache.org/thread/4w015n6gdcpy68wng1knr4qgokbyskz3 Cheers Łukasz -

Re: Struts 6.7.0 and JRebel issue

2024-12-09 Thread Lukasz Lenart
wt., 10 gru 2024 o 00:02 David Brunstein napisał(a): > > Hi, > > My Team has found the following issue. > > JRebel no longer seems to work with the latest version of Struts, 6.7.0. > When we try to hit a page in our app, we immediately get the following > error: > > > > JRebel: Class 'com.opensymp

Re: Re: Struts 7 release rough timelines

2024-12-06 Thread Lukasz Lenart
pt., 6 gru 2024 o 01:52 Rai de Guzman napisał(a): > Any update on the timeline for Struts 7 release? We are ready to prepare a new release, the only blocker is this one https://issues.apache.org/jira/browse/INFRA-26325 Cheers Lukasz -

RE: Re: Struts 7 release rough timelines

2024-12-05 Thread Rai de Guzman
Hi Lukas, Any update on the timeline for Struts 7 release? Thanks! On 2024/11/07 12:44:31 Lukasz Lenart wrote: > You can start working on migration based on the latest M10 version of > Struts 7. There is one small bug which blocks release, once addressed > we should be ready to go. > > pt., 1 li

Re: Struts 7 release

2024-11-17 Thread Lukasz Lenart
pt., 15 lis 2024 o 11:43 Sai Charan Teja Pratti napisał(a): > > Hi everyone, > > We are aware that the latest available test build for Struts-7 is M10. But, > test builds are not supposed to be used in production. You can always use the milestone version to migrate your current code and be ready

Re: Struts 7 release rough timelines

2024-11-07 Thread Tanmay Majumdar
Hi Lukas, Thanks a lot for that information. Really excited for Struts 7 ! On Thu, 7 Nov 2024 at 18:15, Lukasz Lenart wrote: > You can start working on migration based on the latest M10 version of > Struts 7. There is one small bug which blocks release, once addressed > we should be ready to go

Re: Struts 7 release rough timelines

2024-11-07 Thread Lukasz Lenart
You can start working on migration based on the latest M10 version of Struts 7. There is one small bug which blocks release, once addressed we should be ready to go. pt., 1 lis 2024 o 06:41 Tanmay Majumdar napisał(a): > > Hi Everyone, > > One of our applications uses Struts with WildFly 17. Now W

Aw: Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Wolfgang Knauf
Done: https://issues.apache.org/jira/browse/WW-5475 Best regards Wolfgang > Gesendet: Sonntag, 20. Oktober 2024 um 11:17 > Von: "Lukasz Lenart" > An: "Struts Users Mailing List" > Betreff: Re: Struts 7: error when "s:action" is used on jsp pa

Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Lukasz Lenart
niedz., 20 paź 2024 o 11:14 Wolfgang Knauf napisał(a): > > OK, I see. Thanks for the clarification. > > Is there any chance to improve the error message or detect this > situation? You wrote that this is a recommendation, and it worked with > the old version. But the exception does not point to an

Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Wolfgang Knauf
OK, I see. Thanks for the clarification. Is there any chance to improve the error message or detect this situation? You wrote that this is a recommendation, and it worked with the old version. But the exception does not point to anything helpful for analysing this. Best regards Wolfgang Am 20

Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Lukasz Lenart
sob., 19 paź 2024 o 15:18 Wolfgang Knauf napisał(a): > I have a "index.jsp" and invoke an action using "s:action" tag, then render > data from this action. In the browser I navigate to this jsp direcly > ("http://localhost/index.jsp"; instead of browsing to ".../index.action"). This is against

RE: Struts 6.4, Ognl and getters without an underlying field

2024-10-10 Thread Nate Kerkhofs
Yes, the problem is gone. It was an error on my end related to the ordering of static fields in the singleton class. -Original Message- From: Lukasz Lenart Sent: Tuesday, 8 October 2024 09:06 To: Struts Users Mailing List Subject: Re: Struts 6.4, Ognl and getters without an underlying

Re: Struts 6.4, Ognl and getters without an underlying field

2024-10-08 Thread Lukasz Lenart
entire BootstrapSupport class obsolete. > > Kind regards, > > Nate > > -Original Message- > From: Lukasz Lenart > Sent: Sunday, 6 October 2024 07:55 > To: Struts Users Mailing List > Subject: Re: Struts 6.4, Ognl and getters without an underlying field > > That

RE: Struts 6.4, Ognl and getters without an underlying field

2024-10-07 Thread Nate Kerkhofs
e a custom Localization engine, and we found it better to keep this logic centralized in our BaseActionSupport class, making the entire BootstrapSupport class obsolete. Kind regards, Nate -Original Message- From: Lukasz Lenart Sent: Sunday, 6 October 2024 07:55 To: Struts Users Mailing List S

Re: Struts 6.4, Ognl and getters without an underlying field

2024-10-05 Thread Lukasz Lenart
That should just work, I don't recall any changes affecting processing this. Could you enable DEBUG level and inspect logs before the error you get. Maybe there is a security WARNING you have missed. czw., 3 paź 2024 o 10:26 Nate Kerkhofs napisał(a): > > Hello, > > One small correction: it's a St

RE: Struts 6.4, Ognl and getters without an underlying field

2024-10-03 Thread Nate Kerkhofs
Hello, One small correction: it's a Struts 6.3 project, not 6.4. We were planning on upgrading to 6.4 or a later 6.X version, but because we still need to upgrade to 7.0 this release anyway we decided to skip any upgrades in between. Kind regards, Nate Kerkhofs -Original Message- From

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-28 Thread Łukasz Lenart
Great, thanks for detailed information! pon., 29 lip 2024 o 01:42 Rubens Gomes napisał(a): > > I have created the following Jira to track this issue: > https://issues.apache.org/jira/browse/WW-5450 > > On Wed, Jul 24, 2024 at 6:04 PM Rubens Gomes wrote: > > > > Below is the line in tomcat code t

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-28 Thread Rubens Gomes
I have created the following Jira to track this issue: https://issues.apache.org/jira/browse/WW-5450 On Wed, Jul 24, 2024 at 6:04 PM Rubens Gomes wrote: > > Below is the line in tomcat code that resolves to REQUEST instead of FORWARD. > > // Globals.DISPATCHER_TYPE_ATTR "org.apache.catalina.core.

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-24 Thread Rubens Gomes
Below is the line in tomcat code that resolves to REQUEST instead of FORWARD. // Globals.DISPATCHER_TYPE_ATTR "org.apache.catalina.core.DISPATCHER_TYPE" DispatcherType disInt = (DispatcherType) request.getAttribute(Globals.DISPATCHER_TYPE_ATTR); Should I open a bug ticket on Struts or Tomcat? Or

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-24 Thread Rubens Gomes
I noticed the following issue while debugging: StrutsRequestWrapper is missing request attribute "jakarta.servlet.forward.request_uri" Then, tomcat "org.apache.catalina.core.ApplicationDispatcher" doForward method fails to find that attribute in the following line: if (hrequest.getAttribute(FOR

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-23 Thread Rubens Gomes
As per Spring Boot "3.3.2" managed dependency coordinates the embedded tomcat version is "10.1.26" On Mon, Jul 22, 2024 at 11:27 AM Łukasz Lenart wrote: > > Tomcat? version? It can be related to Tomcat changes > > pon., 22 lip 2024 o 17:25 Rubens Gomes napisał(a): > > > > I am running Struts 7.0

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-22 Thread Łukasz Lenart
Tomcat? version? It can be related to Tomcat changes pon., 22 lip 2024 o 17:25 Rubens Gomes napisał(a): > > I am running Struts 7.0.0-M9 along with Spring Boot 3.3.2 + Spring Security. > > have a Struts Action class annotated with : > > @Result( > name = Action.INPUT, > location = "/WEB-

RE: struts

2024-07-05 Thread Nate Kerkhofs
Hi Santhi, I am not a member of the Struts team, but I don't think anyone on this mailing list will be able to provide you with assistance with maintaining a Struts 1.1 project. Struts 1.1 was released in 2005, almost 20 years ago, and the entire Struts 1.x line has been end of life for over 1

Re: Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader

2024-06-20 Thread Rubens Gomes
right now. https://issues.apache.org/jira/browse/WW-5430 From: Lukasz Lenart Sent: Thursday, June 20, 2024 12:17 AM To: user@struts.apache.org Subject: Re: Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader Nice catch, would you mind

Re: Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader

2024-06-19 Thread Lukasz Lenart
Nice catch, would you mind creating a JIRA ticket? czw., 20 cze 2024 o 02:15 Rubens Gomes napisał(a): > I am getting the runtime error below with 7.0.0-M6. It appears that method > "rg.apache.struts2.views.freemarker.FreemarkerManager.createTemplateLoader" > > is using "freemarker.cache.WebappT

Re: Struts Java 17 and J2EE9 support

2024-06-19 Thread Lukasz Lenart
śr., 19 cze 2024 o 16:05 Ankit Garg napisał(a): > > TCS Confidential > > Hi Lukasz Lenart, > > May I request to have plan on Struts 7 please? > Any projected dateline would be great. To avoid sharing the same information in many places https://issues.apache.org/jira/browse/WW-5141?focusedComment

RE: Struts Java 17 and J2EE9 support

2024-06-19 Thread Ankit Garg
TCS Confidential Hi Lukasz Lenart, May I request to have plan on Struts 7 please? Any projected dateline would be great. Thank you. Regards, Ankit Garg -Original Message- From: Lukasz Lenart Sent: Tuesday, February 20, 2024 10:34 PM To: Struts Users Mailing List Subject: Re: Struts

Re: Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Matias Rodriguez
thanks; in advance, the workaround exposed here fixes the issue: org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG /WEB-INF/tiles.xml El lun, 22 abr 2024 a la(s) 10:31 a.m., Lukasz Lenart ( lukaszlen...

Re: Struts 6.4.0: is there a Tiles breaking change?

2024-04-22 Thread Lukasz Lenart
pon., 22 kwi 2024 o 15:16 Matias Rodriguez napisał(a): > > hi! I'm getting an exception when moving from version *6.3.0.2*; should we > add some annotations or something? thanks! > Struts has detected an unhandled exception: > *Messages*: > - Cannot find definition named 'indexServidor' It's pro

Re: Struts 6.4.0 Release Date

2024-04-18 Thread Lukasz Lenart
śr., 17 kwi 2024 o 17:18 Pranish Srigiri napisał(a): > > Hi Team, > We have a major release planned in the next 2 months. For this we need to > upgrade struts to 6.4.0. We've been waiting for it to get released since > January. It would be great if we know the release timeline of v6.4.0. 6.4.0 is

Re: Struts examples Hello World

2024-04-17 Thread Tim Mousaw
Thank you! I just wanted to be sure I wasn't missing anything. I'll need to read up on how that configuration value works to understand why this line causes it not to work. I'll put up a PR to make the code match the documentation of the Hello World example. On Wed, Apr 17, 2024 at 12:43 AM Lukasz

Re: Struts examples Hello World

2024-04-16 Thread Lukasz Lenart
niedz., 14 kwi 2024 o 20:56 Tim Mousaw napisał(a): > > I started to go through the Getting Started examples at > https://struts.apache.org/getting-started/index.html. I downloaded all the > examples from https://github.com/apache/struts-examples. I would expect > that I should be able to run `mvn

Re: Struts examples Hello World

2024-04-16 Thread Tim Mousaw
I forgot to mention, I am on Windows 11 Home Version 23H2 OS Build 22631.3447. I have also tried via WSL 2 on an Ubuntu 20.04.6 LTS (focal) and had the same result. On Sun, Apr 14, 2024 at 2:54 PM Tim Mousaw wrote: > I started to go through the Getting Started examples at > https://struts.apache

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-25 Thread DAngel
I've seen some answers to this error for the asm version, so I checked the library version. I have tried both the version: 7.3.1 (which is the one used in the struts pom), and 9.6 with the same error result. El dom, 24 mar 2024 a las 17:40, Lukasz Lenart () escribió: > This looks like you have a

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-24 Thread Lukasz Lenart
This looks like you have another version of the ASM library on the classpath https://stackoverflow.com/questions/16209623/incompatibleclasschangeerror-class-classmetadatareadingvisitor-has-interface-cl czw., 21 mar 2024 o 15:00 DAngel napisał(a): > > Hello, thanks for answering > > Before startin

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-21 Thread DAngel
Hello, thanks for answering Before starting tomcat I delete the content inside the directories "work" and "temp" OGNL version: WEB-INF/lib/ognl-3.1.29.jar WEB-INF/lib/tiles-ognl-3.0.8.jar The following is the error trace for an Action class (the same thing is repeated for all Action

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-20 Thread Lukasz Lenart
śr., 20 mar 2024 o 01:34 DAngel napisał(a): > ERROR org.apache.struts2.convention.DefaultClassFinder - Unable to read > class [ mi.action.class] > java.lang.IncompatibleClassChangeError: class > org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor has > interface org.objectweb.asm.

Re: Struts 6.3 Issue Uploading Files

2024-03-05 Thread Lukasz Lenart
Can you take a look at this PR? Can you test it? https://github.com/apache/struts/pull/892 śr., 6 mar 2024 o 07:51 Lukasz Lenart napisał(a): > > pon., 4 mar 2024 o 00:28 Zoran Avtarovski > napisał(a): > > I tried to raise a ticket to include some logging in the isMultipartRequest > > function

Re: Struts 6.3 Issue Uploading Files

2024-03-05 Thread Lukasz Lenart
pon., 4 mar 2024 o 00:28 Zoran Avtarovski napisał(a): > I tried to raise a ticket to include some logging in the isMultipartRequest > function to record why it failed but I don't have an account anymore. I've created the ticket https://issues.apache.org/jira/browse/WW-5401 Cheers Lukasz -

Re: Struts 6.3 Issue Uploading Files

2024-03-03 Thread Zoran Avtarovski
Thanks Lukasz, I'm not sure that is the issue. I did a simple verification test and added some debugging around the request content type I got the following : Request Content Type: multipart/form-data; boundary=---22500187869113554433768726201 Using default regex string c

Re: Struts 6.3 Issue Uploading Files

2024-02-29 Thread Lukasz Lenart
The request must match the following regex [1], more details in the docs [2], yet I notice there is no logging around this logic, feel free to create a ticket to improve that. [1] https://github.com/apache/struts/blob/master/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java#L110 [2

Re: Struts 6.3 Issue Uploading Files

2024-02-29 Thread Zoran Avtarovski
Hi Burton, The issue is with a simple HTTP request the file object is null, see the red log entry below. But if I use a simple jQuery ajax call, it works as expected and I’m not sure why and how to rectify. This was the simple code I used to upload the file, same set of interceptors, sam

Re: Struts 6.3 Issue Uploading Files

2024-02-29 Thread Burton Rhodes
I'm not exactly sure what isn't working for you, but have you tried using the newer FilesUploadAware interface? More information can be found at https://struts.apache.org/core-developers/file-upload.html I might also recommend you set value="true"/> to see if anything comes up in the logs. Th

Re: Struts Java 17 and J2EE9 support

2024-02-20 Thread Lukasz Lenart
wt., 20 lut 2024 o 15:29 Nate Kerkhofs napisał(a): > Is there a specific launch window Apache is targeting for the launch of > Struts 7 and the associated migration guide? Nope, yet I want to release Struts 6.4.0 and then probably start working on releasing Struts 7. This is also related to EOF

RE: Struts Java 17 and J2EE9 support

2024-02-20 Thread Nate Kerkhofs
Mailing List Subject: Re: Struts Java 17 and J2EE9 support Nope, support for JDK17 & JakartaEE is planned in Struts 7 https://github.com/apache/struts/pull/792 You can test the latest M2 release https://lists.apache.org/thread/9gs0gjljzk72rk22fx64mvpf6dt72lpq Cheers Lukasz pon., 19 lut 2024 o 1

Re: Struts Java 17 and J2EE9 support

2024-02-19 Thread Lukasz Lenart
Nope, support for JDK17 & JakartaEE is planned in Struts 7 https://github.com/apache/struts/pull/792 You can test the latest M2 release https://lists.apache.org/thread/9gs0gjljzk72rk22fx64mvpf6dt72lpq Cheers Lukasz pon., 19 lut 2024 o 17:31 Ankit Garg napisał(a): > > TCS Confidential > > Hi Al

Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2024-01-07 Thread Lukasz Lenart
This PR [1] should fix the problem. There was a gap in our unit tests which allowed us to introduce the previous change that broke evaluation of the value attribute. [1] https://github.com/apache/struts/pull/835 Regards Łukasz

RE: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-30 Thread Nate Kerkhofs
art Sent: Thursday, 30 November 2023 16:52 To: Struts Users Mailing List Subject: Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack wt., 28 lis 2023 o 17:43 Yasser Zamani napisał(a): > > Hi Nate, > > Thanks for the detailed info and the PoC which e

Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-30 Thread Lukasz Lenart
wt., 28 lis 2023 o 17:43 Yasser Zamani napisał(a): > > Hi Nate, > > Thanks for the detailed info and the PoC which enabled me to debug the issue! > > The issue is introduced by [1] lines insertions which has changed the path of > the execution to findValue(expr, class) instead of findValue(expr).

Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-28 Thread Yasser Zamani
rds, Yasser [1] https://github.com/apache/struts/pull/577/files#diff-812c02fab412aaa588054c477048432288505ef1978d53d5b23ce9e5661f8492R83-R86 From: Nate Kerkhofs Sent: Monday, November 27, 2023 4:17 PM To: Struts Users Mailing List Subject: RE: Struts

RE: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-27 Thread Nate Kerkhofs
. Kind regards, Nate -Original Message- From: Nate Kerkhofs Sent: Monday, 27 November 2023 10:16 To: user@struts.apache.org Cc: Lukasz Lenart Subject: RE: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack Hello Lukasz, Apologies for this, I was und

RE: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-27 Thread Nate Kerkhofs
parameters.tabindex}"<#rt/> <#if itemCssClass?has_content> class="${itemCssClass}"<#rt/> <#if itemCssStyle?has_content> style="${itemCssStyle}"<#rt/> <#if itemTitle?has_content> title="${itemTitle}"<#rt/> <#e

  1   2   3   4   5   6   7   8   9   10   >