开发者

how to configure action with * in it?

开发者 https://www.devze.com 2023-01-20 14:19 出处:网络
<action path=\"/edit*\" type=\"org.apache.struts.weapp.example.Edit{1}Action\" name=\"{1}Form\" scope=\"request\">
<action path="/edit*" type="org.apache.struts.weapp.example.Edit{1}Action" name="{1}Form" scope="request">
       <forward name="failure" path="/mainmenu.jsp"/>
       <forward n开发者_如何学Came="success" path="/{1}.jsp"/>
</action>

Referring to the above how does the developer change the following sample to accept the request of format: /edit*Customer?id=125?

•The developer changes validate="false" to validate="edit".
•The developer changes path="/edit*" to actionPath="/edit*".
•The developer changes path="/edit*" to path="/edit\**".
•The developer changes path="/edit*" to path="/(edit)\***".
•The developer changes validate="false" to validate="wildcard
0

精彩评论

暂无评论...
验证码 换一张
取 消