url automatic append !save
---------------------------
Key: WW-2696
URL: https://issues.apache.org/struts/browse/WW-2696
Project: Struts 2
Issue Type: Bug
Affects Versions: 2.1.2
Environment: apache-tomcat-6.0.16 jdk1.5.0_06-b05 struts2.12
Reporter: tangmonk
struts.xml code <action name="userRegister!*" method="{1}"
class="cn.tomcat.stone.web.action.UserRegister" > <result
name="success">/test/test-action.jsp</result>
jsp code <s:form action="userRegister!save">***....</s:form>....
if browse http://localhost/userRegister.do and view the source code was
<form id="userRegister_save" name="userRegister-save" onsubmit="return true;"
action="/51stone/user/userRegister!save!save.do" method="post"><table
class="wwFormTable">
if i change the struts.xml <action name="userRegister-*" ....... and jsp
<s:form action="userRegister-save">***....</s:form>.... all are normal
i am a chinese english ...........
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.