- 博客(6)
- 收藏
- 关注
Struts2 实现零配置(2)-Annotation
9、AnnotationAction相关:· 与Action相关的两个Annotation是@Action 和@Actions· @Action中可指定一个value属性。类似于指定<action name=””/>属性值· @Action中还可以指定一个params属性,该属性是一个字符串数组,用于该Acion指定的参数名和参数值。params属性应遵守如下格式...
2013-03-02 01:20:52 98
原创 Struts2 实现零配置(1)
1、安装Convention插件(struts2-convention-plugin.jar)2、可设置常量:· struts.convention.exclude.packages:指定不扫描的包· struts.convention.package.locators:指定的包作为搜索Action的根包· struts.convention.action.packages:外...
2013-03-02 01:17:36 112
原创 struts.xml配置详解
<struts> <include file="user.xml"/> <include file="goods.xml"/> <include file="order.xml"/></struts> include标签,可以将一个struts.xml配置文件分割
2013-03-01 00:11:01 112
Struts-default.xml简要说明
<struts> <bean class="com.opensymphony.xwork2.ObjectFactory" name="xwork" /> <bean type="com.opensymphony.xwork2.ObjectFactory" name="struts" class="org.apache.strut
2013-02-28 23:25:25 103
原创 Struts2 基本配置
<!-- Struts2配置 --> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteF...
2013-02-28 22:44:39 101
default.properties简单说明
### Specifies the Configuration used to configure Struts ### one could extend org.apache.struts2.config.Configuration### to build one's customize way of getting the configurations parameters ...
2013-02-28 22:15:06 214
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人