Struts
chen_shuqing
工信部-系统架构设计师,美国PMIR认证-PMP,JAVA EE开源SSH,BPM,WORKFLOW
展开
-
Struts2中的属性配置
Struts2中的属性配置有两种,1、一种是通过struts.properties配置文件进行配置struts.objectFactory=spring2、另一种是通过struts.xml进行配置: 3、配置项有:struts.action.extension The URL extension to use to determine if the request is meant for a Struts action 用URL扩展名来确定是否这个请求是被用作Str原创 2010-11-02 17:28:00 · 309 阅读 · 0 评论 -
struts2 convention插件配置说明
<br />struts2开发了convention插件来支持零配置文件的功能,以下是struts2 convention中的配置属性说明:<br />1、常量说明<br /> struts.convention.result.path="/WEB-INF/content/": 结果页面存放的根路径,必须以 "/" 开头。<br /> struts.convention.action.suffix="Action": action名字的获取 <br /> struts.conv原创 2010-11-09 10:30:00 · 2209 阅读 · 0 评论