struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ej Magdaluyo <ejmagdal...@gmail.com>
Subject Upgrading Struts 2.2.3 to 2.3.34
Date Thu, 12 Oct 2017 05:18:32 GMT
We are currently attempting to migrate our application from Struts 2.2.3 to
2.3.34. However, we are currently facing issues with the migration. Here
are the steps that we have already performed.


1. Replaced necessary JAR files & required dependencies.

2. Changed DTD in struts.xml

3. Changed DTD in tiles.xml

4. Modified web.xml file and changed
org.apache.struts2.dispatcher.FilterDispatcher
to org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

5. Modified web.xml file context-param to <param-name>org.apache.tiles.impl.
BasicTilesContainer.DEFINITIONS_CONFIG</param-name>

6. Added the ff in struts.xml:

<constant name="struts.additional.excludedPatterns"
value="^(action|method):.*"/>

<constant name="struts.enable.DynamicMethodInvocation" value="true" />


We would just like to know if there are additional changes that we need to
do in our java/jsp/xml files. This is because we are getting errors such as
these when executing actions:


No result defined for action com.MyRequestAction and result fileSizeError


This error did not appear before our migration. Our results are correctly
defined in our struts.xml. Hence, we are not certain why the error was
returned to us.


Thanks!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message