摘要:
通常struts2加载struts2常量的顺序如下: 1. struts-default.xml:该文件保存在struts2-core-2.0.6.jar文件中。2. struts-plugin.xml:该文件保存在struts2-Xxx-2.0.6.jar等Struts2插件JAR文件中。3. struts.xml:该文件是Web应用默认的Struts2配置文件。4. struts.pr... 阅读全文
posted @ 2010-06-30 21:55
木瓜网络
阅读(844)
评论(0)
推荐(1)
摘要:
Action中的默认值如果没有指定Action.默认是ActionSupport如果没有指定的method。默认的是action中的execute()方法。如果没有指定的result 的name属性。默认的是success.[代码]Action视图转发方式1、从定向到特定的视图---redirect通过result的type属性设置:代码Code highlighting produced by ... 阅读全文
posted @ 2010-06-30 21:45
木瓜网络
阅读(594)
评论(0)
推荐(0)