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

2018-03-05 Thread Lukasz Lenart
2018-03-05 16:19 GMT+01:00 Prasanth Pasala : > Yeah, my url pattern is *.action as I do have some struts1 actions. Does it mean you use the same filter to handle Struts 1 and Strut 2? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

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

2018-03-05 Thread Prasanth Pasala
Yeah, my url pattern is *.action as I do have some struts1 actions.       struts2     *.action     REQUEST     FORWARD   On 03/05/2018 12:27 AM, Lukasz Lenart wrote: > 2018-03-02 17:33 GMT+01:00 Prasanth : >> https://issues.apache.org/jira/projects/WW/issues/WW-4904

Re: Struts2 login action class seems to be reused

2018-03-05 Thread Adam Brin
What are the annotations on the class? Is it possible that you're using Spring, and not declaring "prototype" scope. eg: @Scope("prototype") On Mon, Mar 5, 2018 at 10:49 AM, Yasser Zamani wrote: > > > On 3/5/2018 7:48 PM, Prasanth wrote: > > But the Login filter had

Re: Struts2 login action class seems to be reused

2018-03-05 Thread Yasser Zamani
On 3/5/2018 7:48 PM, Prasanth wrote: > But the Login filter had the below lines to make sure forwarded requests from > /context1 > would work. > > request.setAttribute("struts.actionMapping", new ActionMapping()); Please let me discuss this line first of all. I'm still surprised how context2

Re: Struts2 login action class seems to be reused

2018-03-05 Thread Prasanth
Yes, login page is accessible always. Direct jsp access is not allowed, it has to go through the actions. When a user requests /Login.action login jsp page is displayed. When the user submits username and password (Post to Login.action) the user is authenticated and home page is displayed by

Re: Struts 2.5.14 support for java 8/java 9/java 10

2018-03-05 Thread Adam Brin
You might look in the struts2 JIRA for open issues > On Mar 5, 2018, at 6:18 AM, David Greene wrote: > > Struts 2.5 has out of the gate support for Java8. I haven't tried 9 or 10 > yet. > > On Mon, Mar 5, 2018 at 4:16 AM, coolaki2...@gmail.com >

Re: Struts 2.5.14 support for java 8/java 9/java 10

2018-03-05 Thread David Greene
Struts 2.5 has out of the gate support for Java8. I haven't tried 9 or 10 yet. On Mon, Mar 5, 2018 at 4:16 AM, coolaki2...@gmail.com wrote: > Hello, > > Can anyone throw some knowledge about Struts support for Java 8 , Java 9 > and Java 10. > > > Thanks, > > A.S > >

Struts 2.5.14 support for java 8/java 9/java 10

2018-03-05 Thread coolaki2006
Hello, Can anyone throw some knowledge about Struts support for Java 8 , Java 9 and Java 10. Thanks, A.S - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: