struts2 Annotation configuration

来源:互联网 发布:linux 设置权限 编辑:程序博客网 时间:2024/06/04 19:55

       如果要用Annotation配置struts2,则必须将包struts2-convention-plugin-2.1.6加载到项目中。

      

       Annotation可以配置以下几种:

      1.配置Action

     2 配置Interceptor

     3 配置Validator

     4 配置Type Conversion


    具体实例可参考网站:tutorialspoint

原创粉丝点击