如何用*配置动作?

时间:2010-10-21 11:56:00

标签: struts

<action path="/edit*" type="org.apache.struts.weapp.example.Edit{1}Action" name="{1}Form" scope="request">
       <forward name="failure" path="/mainmenu.jsp"/>
       <forward name="success" path="/{1}.jsp"/>
</action>

参考上面的内容,开发人员如何更改以下示例以接受格式请求:/ 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 个答案:

没有答案