struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <>
Subject Re: Issue in migration from struts2.3.35 to struts2.5.22
Date Mon, 02 Nov 2020 06:21:49 GMT
niedz., 1 lis 2020 o 14:25 Peer Mohammad <> napisał(a):
> 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 .

You are not using Xwork directly but you have xwork.jar on the
classpath, and some classes can conflict - remove the jar.

Next, you are accessing index.jsp directly and not via action - that's
why you are getting the exception. You are using Struts related Tiles
listener which expects that all the Tiles definitions (in this case
"cheetta.login") will be accessed via action. So the flow supposed to
be as follow:

browser -> action -> JSP -> Tiles definition

In your case there is no action when you're accessing index.jsp. If
you don't use any of the Struts Tile listener features you can switch
to "org.apache.tiles.listener.TilesListener" as pointed in the

And yes, for the last 7 years we have been developing and extending
Struts that's why some things have changed.

+ 48 606 323 122

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message