自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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关注的人

提示
确定要删除当前文章?
取消 删除