s:form generates wrong action url - ".action" suffix is missing
---------------------------------------------------------------
Key: WW-2862
URL: https://issues.apache.org/struts/browse/WW-2862
Project: Struts 2
Issue Type: Bug
Components: Plugin - Portlet, Plugin - Tags
Affects Versions: 2.0.11.2
Environment: Pluto 1.1.6, JDK 1.5, Tomcat 6.0.13
Reporter: Torsten Krah
Hi.
I am using Struts2 in a portlet / servlet environment.
Using portlets s:form behaves well.
But if i use actions through the FilterDispatcher, the url generated is wrong:
It should look like:
<form action="abc.action">
...
</form>
but using <s:form action="acb"> ... it generates:
<form action="abc">
and this is a non functional form as there is no url names abc, but abc.action.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.