struct2的@ParentPackage与ResultPath
struct 2的注解也很不错@ParentPackage("common")@ResultPath("/WEB-INF/common")public class CommonAciton extnds ActionSupport{}ok这样就可以直接配置一个action在common的包下了。使用!调用方法,返回字符串比如‘list’, ok 那么这个请求会直接返回到
原创
2012-04-01 15:00:18 ·
5724 阅读 ·
0 评论