社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 5350阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /=M.-MU2  
*/U$sZQ)  
struts.action.extension 6y@<?08Q  
      The URL extension to use to determine if the request is meant for a Struts action iEhDaC[e(b  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {HuLuP 0t  
@,vv\M0)p  
struts.configuration F*<Ws;j  
      The org.apache.struts2.config.Configuration implementation class #NF+UJYJ&'  
        org.apache.struts2.config.Configuration接口名 E& ]_U$  
^ wQcB  
struts.configuration.files ngqUH  
      A list of configuration files automatically loaded by Struts c~oe, 9  
      struts自动加载的一个配置文件列表 I"V3+2e  
Wf1-"Q  
struts.configuration.xml.reload y''V"Be  
      Whether to reload the XML configuration or not <4NQL*|>  
      是否加载xml配置(true,false) zjWyGt(Q  
}85#[~m'  
struts.continuations.package nO [QcOf  
      The package containing actions that use Rife continuations !:J< pWN"  
      含有actions的完整连续的package名称 qS82/e)7  
s=jO; K$  
struts.custom.i18n.resources ddMM74  
      Location of additional localization properties files to load 4H9xO[iM  
      加载附加的国际化属性文件(不包含.properties后缀) K z^hQd  
:wCC^Y]  
struts.custom.properties $y4M#yv  
      Location of additional configuration properties files to load JOHp?3"4  
      加载附加的配置文件的位置 dh,7iQ s  
|ZuDX87  
| VRq$^g  
struts.devMode *EE|?vn  
      Whether Struts is in development mode or not bgXc_>T6_y  
      是否为struts开发模式 KqY>4tb  
|Kn^w4mN  
struts.dispatcher.parametersWorkaround cFxSDTR  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bl9E&B/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) G[B*TM6$  
Faw. GU  
struts.enable.DynamicMethodInvocation %J3lK]bv(  
      Allows one to disable dynamic method invocation from the URL ?(M\:`G'  
        允许动态方法调用 $YR{f[+L w  
oG9SO^v_  
struts.freemarker.manager.classname fa.f(c  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L%4tw5*N  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C$0 ITw  
.?7So3   
struts.i18n.encoding t9n'!  
      The encoding to use for localization messages <sF!]R&4  
      国际化信息内码 *Ag,kW"  
 A8`orMo2  
struts.i18n.reload otZ JY)  
      Whether the localization messages should automatically be reloaded vKV{ $|  
      是否国际化信息自动加载 $q=hcu  
^:$j:w?j  
struts.locale 5[hlg(eb  
      The default locale for the Struts application )%1&/uN)  
      默认的国际化地区信息 M{y|7e%K  
c'[( d5^|  
struts.mapper.class k.ww-nH  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class j[BgP\&,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !-@SS>  
_c,&\ wl$  
struts.multipart.maxSize uof0Oc.  
      The maximize size of a multipart request (file upload) yl|R:/2V  
      multipart请求信息的最大尺寸(文件上传用) aGe\.A=  
Pyit87h{  
struts.multipart.parser 2}1!WIin  
      The org.apache.struts2.dispatcher.multipart. |oB]6VS`  
      MultiPartRequest parser implementation for a multipart request (file upload) [kQ"6wh8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) SwQOFE/Dv~  
@V*au:  
csm?oUniz  
struts.multipart.saveDir >EyvdX#v  
      The directory to use for storing uploaded files fG^7@J w:G  
      设置存储上传文件的目录夹 I[vME"  
LIc*tsl  
struts.objectFactory e1Dj0s?i~K  
      The com.opensymphony.xwork2.ObjectFactory implementation class !WDn7j'A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7E@$}&E  
l %]<-  
struts.objectFactory.spring.autoWire g!z8oPT  
      Whether Spring should autoWire or not J78Qj[v  
      是否自动绑定Spring HM;4=%  
` C/fF_YA  
struts.objectFactory.spring.useClassCache [)B@  
      Whether Spring should use its class cache or not puk4D  
      是否spring应该使用自身的cache agGgJ@  
I-j(e)P(o_  
struts.objectTypeDeterminer C5d/)aC  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4t"*)xy  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 an #jZ[  
t/_\U =i$  
struts.serve.static.browserCache :^C#-O  
If static content served by the Struts filter should set browser caching header properties or not R#r h  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \Gv-sA  
`\6 +z  
struts.serve.static 4ZSfz#<[z  
      Whether the Struts filter should serve static content or not (gv=P>:  
      是否struts过滤器应该提供静态内容 i] V F'tG  
1 / F<T  
struts.tag.altSyntax &4a~6  
      Whether to use the alterative syntax for the tags or not QLxXp  
      是否可以用替代的语法替代tags N2M?5fF  
s2kGU^]y  
struts.ui.templateDir #p;4:IT  
      The directory containing UI templates vWZ>Hf]`L  
      UI templates的目录夹 _ +u sn.  
@|JPE%T   
struts.ui.theme )[F46?$vrk  
      The default UI template theme L2do 2_  
      默认的UI template主题 1ZGQhjcx  
Z%(Df3~gmm  
struts.url.http.port OD>u$tI9  
      The HTTP port used by Struts URLs BIwgl@t!>  
      设置http端口 lU >)n  
B`t)rBy  
struts.url.https.port 0EF,uRb  
      The HTTPS port used by Struts URLs ~M|NzK_9  
      设置https端口 `K@5_db\  
d{(s-  
struts.url.includeParams -sruxF  
      The default includeParams method to generate Struts URLs _S[Rvb1e   
      在url中产生 默认的includeParams j58Dki->.  
PkZf(=-X  
[0( E>vm  
struts.velocity.configfile {3_Ffsg`  
      The Velocity configuration file path j@!BOL~?  
      velocity配置文件路径 S S7D1  
x|P<F2L  
struts.velocity.contexts |sDG>Zq?  
      List of Velocity context names `*.r'k2R  
      velocity的context列表 w%!k?t,*]  
(dw3'W  
OoA5!HEh  
struts.velocity.manager.classname ?}!gLp  
      org.apache.struts2.views.velocity.VelocityManager implementation class W_Ws3L1;N  
      org.apache.struts2.views.velocity.VelocityManager接口名 htNL2N  
@p?b"?QaB  
struts.velocity.toolboxlocation @9 qzn&A  
      The location of the Velocity toolbox t(LlWd  
      velocity工具盒的位置 6= aBD_2@  
struts.xslt.nocache .F=<r-0  
      Whether or not XSLT templates should not be cached MC[ `<W)u  
      是否XSLT模版应该被缓存 H-PW(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八