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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 F_8 < tA6  
+(>!nsf  
struts.action.extension 45cMG~]p  
      The URL extension to use to determine if the request is meant for a Struts action f<!3vAh  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %;5AF8#c  
OyTEd5\3  
struts.configuration lZyxJDZ A  
      The org.apache.struts2.config.Configuration implementation class e_Cns&  
        org.apache.struts2.config.Configuration接口名 U}9B wr^  
hAHZN^x&  
struts.configuration.files Z<j(ZVO  
      A list of configuration files automatically loaded by Struts ZY%]F,Y  
      struts自动加载的一个配置文件列表 QBi&Q%piy  
RI,Z&kXj2o  
struts.configuration.xml.reload I]S8:w![  
      Whether to reload the XML configuration or not Ave{ `YD  
      是否加载xml配置(true,false) Bq}p]R3X  
9 C-!I,  
struts.continuations.package $@8$_g|Wz  
      The package containing actions that use Rife continuations RS`]>K3t  
      含有actions的完整连续的package名称 \Qa6mt2h  
d,"?tip/SX  
struts.custom.i18n.resources _)4YxmK%  
      Location of additional localization properties files to load YuO-a$BP  
      加载附加的国际化属性文件(不包含.properties后缀) GWs[a$|  
A]VcQ_e  
struts.custom.properties U p1&(  
      Location of additional configuration properties files to load y  @&Cn  
      加载附加的配置文件的位置 /mELnJ^  
yFfa/d  
fX)C8J^=G  
struts.devMode [K2\e N~g  
      Whether Struts is in development mode or not k0;ND  
      是否为struts开发模式 } Qjp,(ye  
76i)m!  
struts.dispatcher.parametersWorkaround Nr.maucny  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic b_Us%{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) K]mR9$/  
I`%\ "bF@  
struts.enable.DynamicMethodInvocation A aLj.HR  
      Allows one to disable dynamic method invocation from the URL "^A4!.  
        允许动态方法调用 fJ!i%</V  
d8 1u  
struts.freemarker.manager.classname f<.43kv@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class d ]LF5*i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5B+>28G%  
h-rPLU;Bw  
struts.i18n.encoding w6F'rsko]  
      The encoding to use for localization messages FU-YI"  
      国际化信息内码 ;aA,H&   
,Lt+*!;m  
struts.i18n.reload - i``yf?P  
      Whether the localization messages should automatically be reloaded "zSi9]j  
      是否国际化信息自动加载 &Nx'Nq9y  
uus}NZ:*l  
struts.locale E}U[VtaC  
      The default locale for the Struts application S"FIQ&n  
      默认的国际化地区信息 $t' .  
&V;^xMO!  
struts.mapper.class 8nOMyNpy~M  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,Y~{RgG  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |%JJ S^)  
5@3[t`n'  
struts.multipart.maxSize #BQ7rF7CNE  
      The maximize size of a multipart request (file upload) *%JncK '  
      multipart请求信息的最大尺寸(文件上传用) K\5'pp1  
: `D[0  
struts.multipart.parser l#P)9$%  
      The org.apache.struts2.dispatcher.multipart. LM:|Kydp3  
      MultiPartRequest parser implementation for a multipart request (file upload) _= RA-qZ"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _is<.&f6  
74*1|S <  
}]w/`TF  
struts.multipart.saveDir r3X|*/  
      The directory to use for storing uploaded files y74Ph:^ k  
      设置存储上传文件的目录夹 fuM+{1}/E  
MS{purD  
struts.objectFactory FC.d]XA%/d  
      The com.opensymphony.xwork2.ObjectFactory implementation class ` aTkIo:ms  
      com.opensymphony.xwork2.ObjectFactory接口(spring) YxH"*)N  
Kp") %p#  
struts.objectFactory.spring.autoWire H\A!oB,sw  
      Whether Spring should autoWire or not &IGTCTBP  
      是否自动绑定Spring %OWLM  
~2xC.DF_N  
struts.objectFactory.spring.useClassCache Pf s_s6  
      Whether Spring should use its class cache or not *0ZL@Kw  
      是否spring应该使用自身的cache M/GQQG;  
olPV"<;+pO  
struts.objectTypeDeterminer =w HU*mK  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2XJn3wPi  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 j&(2ze:=*$  
:5X1Tr= A  
struts.serve.static.browserCache Vx_ lI #3  
If static content served by the Struts filter should set browser caching header properties or not U~z`u&/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 '0g1v7Gx  
iq$edq[  
struts.serve.static D*+uH;ws  
      Whether the Struts filter should serve static content or not $M\|zUQu.  
      是否struts过滤器应该提供静态内容 P+pL2BA  
mIVnc`3s  
struts.tag.altSyntax P<b.;Oz__-  
      Whether to use the alterative syntax for the tags or not )'8DK$.  
      是否可以用替代的语法替代tags ,)mqd2)+"  
6|U0"C#]  
struts.ui.templateDir BCV<( @c  
      The directory containing UI templates ,eq[X\B>  
      UI templates的目录夹 +5Z0-N@  
;\7TQ9z  
struts.ui.theme xlVQ[Mt  
      The default UI template theme P;[5#-e  
      默认的UI template主题 'Im7^!-d  
:+ksmyW  
struts.url.http.port Tj@}O:q7:  
      The HTTP port used by Struts URLs GF5WR e(E  
      设置http端口 !=C4=xv  
<)y44x|S'  
struts.url.https.port (g,lDU[=  
      The HTTPS port used by Struts URLs q+XL,E  
      设置https端口 v{Cts3?Br  
" 6 /`  
struts.url.includeParams %C=^ h1t%  
      The default includeParams method to generate Struts URLs "sF&WuW|  
      在url中产生 默认的includeParams \KfngYD]W  
\3dM A_5  
evf){XhT;n  
struts.velocity.configfile Kx9Cx 5B  
      The Velocity configuration file path <mlQn?u  
      velocity配置文件路径 ]bO {001y,  
rP.qCl+J  
struts.velocity.contexts <tK 6+isc  
      List of Velocity context names CBx1.xL  
      velocity的context列表 -e#YWMo(  
B e+'&+  
{\22C `9t  
struts.velocity.manager.classname #.p^ S0\pw  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0'O;H[nrl  
      org.apache.struts2.views.velocity.VelocityManager接口名 5;{d*L  
:)}iWKAse  
struts.velocity.toolboxlocation :T3I"  
      The location of the Velocity toolbox ) Ph.  
      velocity工具盒的位置 ~rE U83  
struts.xslt.nocache xB:,l'\G  
      Whether or not XSLT templates should not be cached log{jF  
      是否XSLT模版应该被缓存 .>>@q!!s!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八