struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Tse <>
Subject some issues upgrade struts from 2.2.3 to 2.3.4
Date Wed, 11 Jul 2012 13:44:59 GMT
dear folks,

i have a portlet project which makes use of 2.2.3 for a year and currently prepare to upgrade
to 2.3.4. However, a problem occurred after replacing struts jars. It seems to me that it
is configuration problem (due to new config ??)  but i cannot figure it out…. hope you can
add some ideas to let me try it out….

Problem :
09:39:31,349 ERROR [jsp:154] Unable to locate action mapping for request, probably due to
an invalid action path: /abcportlet/updateForm - [unknown location] 

- I changed all struts*.jar from 2.2.3 to 2.3.4 (including struts2-portlet-plugin)
- i modified config param struts.action.extension from "" to "," 
- the portlet can load an input form, after clicking the submit button to invoke the updateForm
action, the above error occurred.

<package name="abcportletView" namespace="/abcportlet/view" extends="struts-portlet-default">

<action name="updateForm" method="updateForm" class="xyz.myActionClass"> 

<s:form id="sampleForm" name="sampleForm" action="updateForm" namespace="" theme="css_xhtml"
method="post" enctype="multipart/form-data" > 



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