开发者

how to configure action with * in it?

<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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜