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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \Tii S  
N-9qNLSP  
struts.action.extension @*}?4wU^k  
      The URL extension to use to determine if the request is meant for a Struts action SGUu\yS&s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 LnY`f -H  
5J0Sc  
struts.configuration b( qO fek  
      The org.apache.struts2.config.Configuration implementation class ]%8f-_fSy  
        org.apache.struts2.config.Configuration接口名 o 2Okc><z  
Y#[>j4<T  
struts.configuration.files bo%v(  
      A list of configuration files automatically loaded by Struts oY$L  
      struts自动加载的一个配置文件列表 fj,]dQ T  
<z+b88D  
struts.configuration.xml.reload 8ta`sNy9  
      Whether to reload the XML configuration or not g\O&gNq<)-  
      是否加载xml配置(true,false) ]0yYMnqvr  
|fTWf}Jx  
struts.continuations.package @Y8/#6KE  
      The package containing actions that use Rife continuations ;p U=>  
      含有actions的完整连续的package名称 ~~D =Z#  
7HkQ|~zGT  
struts.custom.i18n.resources Tl2e?El;4  
      Location of additional localization properties files to load A0hfy|1#L  
      加载附加的国际化属性文件(不包含.properties后缀) ?5yj</W  
gY=Ry=w9  
struts.custom.properties SFdSA4D"  
      Location of additional configuration properties files to load nL[ zXl  
      加载附加的配置文件的位置 }G50?"^u  
(K>=!&tlp=  
yxpDQ O~x  
struts.devMode vs|_l!n3  
      Whether Struts is in development mode or not N)rf /E0  
      是否为struts开发模式 FJj #  
$F,&7{^  
struts.dispatcher.parametersWorkaround x22:@Ot6  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /Wqx@#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jj&4Sv#>  
1G6MO  
struts.enable.DynamicMethodInvocation  :Ky *AI  
      Allows one to disable dynamic method invocation from the URL !R/- |Kjy  
        允许动态方法调用 lxvRF93a.  
yavoGk  
struts.freemarker.manager.classname V7qc9Gd@I  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3-T}8VsiP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 nR()ei^X  
[=xJh?*P  
struts.i18n.encoding qauZ-Qoc9  
      The encoding to use for localization messages :1O1I2L0  
      国际化信息内码 0-9.u`)#yu  
Z;XiA<|  
struts.i18n.reload V&>\U?q:  
      Whether the localization messages should automatically be reloaded J/o$\8tiMw  
      是否国际化信息自动加载 w_sA8B  
,@b7N[h  
struts.locale E*F)jP,yo  
      The default locale for the Struts application W6>SYa  
      默认的国际化地区信息 .;'3Roi  
;C+g)BW  
struts.mapper.class qXQ/M]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k;?Oi?]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 +[sZE X  
3nJd0E  
struts.multipart.maxSize U =G^w L  
      The maximize size of a multipart request (file upload) J^G#x}y  
      multipart请求信息的最大尺寸(文件上传用) 4[eQ5$CB<u  
s.)nS $  
struts.multipart.parser SB3= 5"q  
      The org.apache.struts2.dispatcher.multipart. 3hrODts  
      MultiPartRequest parser implementation for a multipart request (file upload) rq.S0bzH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3w B03\P  
N%,!&\L  
j$K[QSn  
struts.multipart.saveDir \\WIu?  
      The directory to use for storing uploaded files p`i_s(u  
      设置存储上传文件的目录夹 ,z1fiq  
>,JA=s  
struts.objectFactory kZ0|wML8  
      The com.opensymphony.xwork2.ObjectFactory implementation class P=j89-e  
      com.opensymphony.xwork2.ObjectFactory接口(spring) HcrI3v|6  
-p:X]Ov  
struts.objectFactory.spring.autoWire !QB(M@1  
      Whether Spring should autoWire or not 0H6^2T<  
      是否自动绑定Spring 1{.=T&eG#  
%qM3IVPK)q  
struts.objectFactory.spring.useClassCache sZ,mRT  
      Whether Spring should use its class cache or not +foyPj!%  
      是否spring应该使用自身的cache >+ZD 6l/  
_(q|W3  
struts.objectTypeDeterminer N1LZXXY{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ':v@Pr|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 G\?q{  
ZN:~etd  
struts.serve.static.browserCache ET&Q}UOE  
If static content served by the Struts filter should set browser caching header properties or not ^:0e pj7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <u"h'e/oW_  
U1>VKP;5Nn  
struts.serve.static {cNH|  
      Whether the Struts filter should serve static content or not Z L3aO,G2  
      是否struts过滤器应该提供静态内容 Q6?}/p  
vIoV(rc+  
struts.tag.altSyntax _TRO2p0  
      Whether to use the alterative syntax for the tags or not c==` r C  
      是否可以用替代的语法替代tags r#K;@wu2  
|Q'l&Gt6  
struts.ui.templateDir @Ik@1  
      The directory containing UI templates u'?yc"d>#  
      UI templates的目录夹 U*Hw t\  
f&\v+'[p  
struts.ui.theme qGE?[\t[6  
      The default UI template theme )7e[o8O_6  
      默认的UI template主题 H nRd  
-'tgr6=|w"  
struts.url.http.port bIP'(B#1K  
      The HTTP port used by Struts URLs ZjE!? '(ef  
      设置http端口 *Q<%(JJ  
|$r|DX1[  
struts.url.https.port ;btH[a iV  
      The HTTPS port used by Struts URLs &DMKZMj<Q*  
      设置https端口 DO!?]"  
31n5n  
struts.url.includeParams OOEmXb]8  
      The default includeParams method to generate Struts URLs SOyE$GoOsx  
      在url中产生 默认的includeParams cNW [i"  
Di3<fp#w#  
4No!`O-!&  
struts.velocity.configfile FZM9aA  
      The Velocity configuration file path 5"Ibm D>D  
      velocity配置文件路径 "G8w}n:y  
8q6b3q:c  
struts.velocity.contexts 7kBULeBn|  
      List of Velocity context names 0YsC@r47wL  
      velocity的context列表 {-sy,EYcw  
>qJRpO  
He4sP` &I  
struts.velocity.manager.classname uLw$`ihw  
      org.apache.struts2.views.velocity.VelocityManager implementation class !!=%ty  
      org.apache.struts2.views.velocity.VelocityManager接口名 ):. +u=  
S.9ki<  
struts.velocity.toolboxlocation \(lt [=  
      The location of the Velocity toolbox lg0iNc!  
      velocity工具盒的位置 C ^@~  
struts.xslt.nocache QY<{S&k9  
      Whether or not XSLT templates should not be cached gJNp]I2R  
      是否XSLT模版应该被缓存 kq[*q-:"x  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五