I have not used Xwork, index.jsp has <tiles:inserDefinition name="cheetta.login" flush="true"/>
and cheetta.login is given in struts.xml with action class.This setup is working last 7 years
on struts2.3.35 .
Note sure why its failing on upgraded version.I debugged and saw that Valustack returning
null for the request.
Thanks & Regards,
Peer M Ansari
On 2020/10/29 12:57:57, Lukasz Lenart <lukaszlenart@apache.org> wrote:
> czw., 29 paź 2020 o 11:24 Peer Mohammad <peer4026@gmail.com> napisał(a):
> > list of jars for Strust2.5.22
> >
> > struts2-core 2.5.22
> > freemarker -2.3.30
> > xwork-core -2.3.37
>
> As I said, this is not needed, XWork was merged into Struts Core, you
> are duplicating classes now
>
> > Caused by: There is no ActionContext for current request! - [unknown location]
> >
> > at org.apache.jsp.index_jsp._jspx_meth_tiles_005finsertDefinition_005f0(index_jsp.java:151)
>
> You are accessing index.jsp directly by
> <welcome-file-list>
> <welcome-file>index.jsp</welcome-file>
> </welcome-file-list>
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|