Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-11-01 Thread Lukasz Lenart
niedz., 1 lis 2020 o 14:25 Peer Mohammad napisał(a): > > I have not used Xwork, index.jsp has 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 . You are not using Xwork directly but you have xwork

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-11-01 Thread James Chaplin
Hello Peer. I am not sure if any of these suggestions will help or not, but you never know. There is a blog post (http://www.programmers-code.org/2017/10/23/struts-tiles-locale-resolver-cannot-obtain-httpservletrequest/) that mentions receiving similar errors due to request.getAttribute("x") ca

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-11-01 Thread Peer Mohammad
I have not used Xwork, index.jsp has 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 O

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-29 Thread Lukasz Lenart
czw., 29 paź 2020 o 11:24 Peer Mohammad 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 curre

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-29 Thread Peer Mohammad
Hi, I am using maven to control dependencies and i have doubt on struts2-tiles-plugin jar which has many new library class,not sure if something need to implement. I am using version in dtd in tiles.xml. Please find the list of dependencies for struts2.3.35 (working fine) and struts2.5.22(upgr

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-28 Thread Lukasz Lenart
śr., 28 paź 2020 o 11:55 Peer Mohammad napisał(a): > Please find the web.xml and struts.xml file. I have observed that many > library classes are not available in strut2-tiles-plugin file and xwork some > package in struts-core-2.5.22 compare to struts2.3.35. Not sure what do you mean by that?

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-28 Thread Peer Mohammad
Hi, Please find the web.xml and struts.xml file. I have observed that many library classes are not available in strut2-tiles-plugin file and xwork some package in struts-core-2.5.22 compare to struts2.3.35. I am not accessing jsp file directly. Kindly check and the web.xml and struts.xml and gui

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-01 Thread Lukasz Lenart
czw., 1 paź 2020 o 22:00 Peer Mohammad napisał(a): > I have followed the above mentioned guide and i had removed the XWork as > well,But error remains the same. I am trying last 45 days to resolve this > issue but able to resolve yet. Any suggestion/guidance will be appreciable. Can you share y

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-01 Thread Peer Mohammad
On 2020/09/28 11:17:50, Lukasz Lenart wrote: > pon., 28 wrz 2020 o 12:35 Peer Mohammad napisał(a): > > > > Hi Team, > > > > I am getting error while migrating Struts2.3.35 to Struts2.5.22 as "There > > is no ActionContext for current request! - [unknown location]" > > console log: ERROR Stru

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-01 Thread Peer Mohammad
On 2020/09/28 11:17:50, Lukasz Lenart wrote: > pon., 28 wrz 2020 o 12:35 Peer Mohammad napisał(a): > > > > Hi Team, > > > > I am getting error while migrating Struts2.3.35 to Struts2.5.22 as "There > > is no ActionContext for current request! - [unknown location]" > > console log: ERROR Stru

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-09-28 Thread Lukasz Lenart
pon., 28 wrz 2020 o 12:35 Peer Mohammad napisał(a): > > Hi Team, > > I am getting error while migrating Struts2.3.35 to Struts2.5.22 as "There is > no ActionContext for current request! - [unknown location]" > console log: ERROR StrutsTilesLocaleResolver cannot obtain HttpServletRequest > from [