如果要用Annotation配置struts2,则必须将包struts2-convention-plugin-2.1.6加载到项目中。
Annotation可以配置以下几种:
1.配置Action
2 配置Interceptor
3 配置Validator
4 配置Type Conversion
具体实例可参考网站:tutorialspoint
如果要用Annotation配置struts2,则必须将包struts2-convention-plugin-2.1.6加载到项目中。
Annotation可以配置以下几种:
1.配置Action
2 配置Interceptor
3 配置Validator
4 配置Type Conversion
具体实例可参考网站:tutorialspoint