Re: About "Parameter Validation Filter"

2018-03-01 Thread Lukasz Lenart
2018-02-28 17:55 GMT+01:00 Emi : > Hello, > > There is a topic about Parameter Validation Filter (TrimTextValidationRule, > FailIfNotCanonicalizedValidationRule, FailIfContainsHTMLValidationRule) for > servlet (https://www.owasp.org/index.php/Parameter_Validation_Filter).

Re: Action chaining not forwarding ModelDriven model properties

2018-03-01 Thread Lukasz Lenart
Can you share a source code of your actions? 2018-02-28 13:17 GMT+01:00 shahzad.ism...@gmail.com : > Hi, > I'm migrating an app from Struts 1 to Struts 2 (Tomcat v8 and Struts > 2.5.14.1). There is a scenario in which mapping goes like: > jsp1 --> action1 --> action2

Re: java.lang.ClassCastException: org.apache.struts2.dispatcher.mapper.ActionMapping

2018-03-01 Thread Lukasz Lenart
2018-03-01 20:20 GMT+01:00 Prasanth : > 13:17:52,070 ERROR [stderr] (default task-59) Caused by: > java.lang.ClassCastException: com.opensymphony.xwork2.ognl.OgnlValueStack > cannot be cast to com.opensymphony.xwork2.util.ValueStack You have two the same JARs on a

Struts2 login action class seems to be reused

2018-03-01 Thread Prasanth
Hi, I have an application which uses both struts1 & struts2. The login action was recently moved to struts2. Immediately after the deployment we were notified that one user is seeing a different user information, so we had to move to older war files. I am not able to replicate it. But after

Re: java.lang.ClassCastException: org.apache.struts2.dispatcher.mapper.ActionMapping

2018-03-01 Thread Prasanth
Below is the exception you would get if the valueStack is not set to null. Thanks, Prasanth 13:17:52,070 ERROR [stderr] (default task-59) Caused by: java.lang.ClassCastException: com.opensymphony.xwork2.ognl.OgnlValueStack cannot be cast to com.opensymphony.xwork2.util.ValueStack 13:17:52,070

Re: java.lang.ClassCastException: org.apache.struts2.dispatcher.mapper.ActionMapping

2018-03-01 Thread Prasanth
Sorry didn't check the website, I am not getting the emails to my inbox, will try to subscribe again.  I will get back to you with the exception I was getting if you don't set the valueStack to null. Thanks, Prasanth -- [show/hide