日期:2014-05-19 浏览次数:20827 次
<script type="text/javascript"> // Dojo configuration djConfig = { baseRelativePath: "/Struts2_Ioc/struts/dojo", isDebug: false, bindEncoding: "GBK", debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes }; </script> <script type="text/javascript" src="/Struts2_Ioc/struts/dojo/dojo.js"></script> <script type="text/javascript" src="/Struts2_Ioc/struts/simple/dojoRequire.js"></script> <script type="text/javascript" src="/Struts2_Ioc/struts/ajax/dojoRequire.js"></script> <script type="text/javascript" src="/Struts2_Ioc/struts/CommonFunctions.js"></script>
<action name="List" class="bookAction" method="list"> <result>List.jsp</result> </action> <action name="Edit" class="bookAction" method="load"> <result>Edit.jsp</result> </action> <action name="Store" class="bookAction" method="store"> <result name="input">Edit.jsp</result> <result type="redirect">List.action</result> </action> <action name="Remove" class="bookAction" method="remove"> <result type="redirect">List.action</result> </action>
<action name="Store" class="bookAction" method="store"> <result name="input">Edit.jsp</result> <result type="redirect">List.action</result> </action>