[
https://issues.apache.org/struts/browse/WW-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Luppens resolved WW-2696.
--------------------------------
Resolution: Not A Problem
If you specify the action attribute to be foo!method - then you will get the
resulting attribute to contain this very same !method. Which is the expected
behaviour.
Please don't post user questions in the bugtracker. Use the user mailing list
for that. Thanks.
> 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.