摘要: 1、struts2自2.1以后推荐使用Convention Plugin支持struts零配置支持(引入jar:struts2-convention-plugin-2.x.x.jar)①convention默认扫描所有实现com.opensymphony.xwork2.Action的类和指定包路径下以Action结尾的类名②struts.convention.package.locators指定默认的根packages,struts.convention.action.packages指定搜索的packages下的action,struts.convention.exclude.package 阅读全文
posted @ 2013-11-04 10:56 Gnight 阅读(9616) 评论(0) 推荐(0) 编辑