关于struts2的注解
来源:互联网 发布:linux 播放器剪辑 编辑:程序博客网 时间:2024/05/01 17:56
最近在做一个基于ssh开发的项目,博主本想用struts2注入来进行加快开发,但是一直都注入不了。后来在网上看了一些资料以及一些struts2的doc才知道:
所建的action要建立在struts, struts2, action, actions包或者其子包中,以下是struts2的doc:
First the Convention plugin finds packages named struts, struts2, action or actions. Any packages that match those names are considered the root packages for the Convention plugin. Next, the plugin looks at all of the classes in those packages as well as sub-packages and determines if the classes implementcom.opensymphony.xwork2.Action or if their name ends with Action (i.e. FooAction).
这样就可以了:
0 0
- 关于struts2的注解
- 关于struts2注解Namespace的问题总结
- 关于spring与struts2使用Annotion注解方式的集成
- struts2的注解
- struts2的注解
- Struts2的注解功能
- struts2 的注解配置
- Struts2的注解功能
- Struts2的注解功能
- struts2的注解
- Struts2的注解功能
- Struts2的注解功能
- struts2 的 注解
- Struts2的注解功能
- Struts2的注解功能
- Struts2的注解功能
- Struts2的注解功能
- Struts2的注解功能
- 关于点击电源按钮的时候出现了这情况Transport (VMDB) error -44: Message.
- Struts2文件上传
- HDOJ 4474 Yet Another Multiple Problem(BFS + 剪枝)
- C# 委托的发展 delegate, anonymous method and lambda
- CF#272 (Div. 2) B.(dfs)
- 关于struts2的注解
- echoprint
- 常用url
- 堆排序(C语言版)
- 使用zTree控件制作的表格形式的树形+数据菜单
- 6-1 多态性与虚函数
- 6-2 多态性与虚函数
- C# Usage of CallerInformation
- SEO数据分析之搜索下拉框