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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 d [r-k 2  
>E, Q  
struts.action.extension Y.7}  
      The URL extension to use to determine if the request is meant for a Struts action MZ WmlJ   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 w^3|(F  
E$ {J  
struts.configuration 6.[)`iF+#  
      The org.apache.struts2.config.Configuration implementation class ?H`j>]%&  
        org.apache.struts2.config.Configuration接口名 =LOk13l\"  
vHS2q >  
struts.configuration.files guU=NQZ  
      A list of configuration files automatically loaded by Struts $(3uOsy   
      struts自动加载的一个配置文件列表 #G[t X6gU  
^+wk  
struts.configuration.xml.reload 40u7fojg2  
      Whether to reload the XML configuration or not CI^[I\$&  
      是否加载xml配置(true,false) \0nlPXk?G  
})P O7:  
struts.continuations.package >zQOK-  
      The package containing actions that use Rife continuations m^Glc?g<  
      含有actions的完整连续的package名称 4Ac}(N5D@  
_B3zRO  
struts.custom.i18n.resources TKo<~?  
      Location of additional localization properties files to load #ra*f~G  
      加载附加的国际化属性文件(不包含.properties后缀) L!,d"wuD  
2 L:$aZ  
struts.custom.properties NEw $q4  
      Location of additional configuration properties files to load ~cIl$b  
      加载附加的配置文件的位置 "kU]  
ytiyF2Kp  
o,1Dqg4P3  
struts.devMode z3W3=@  
      Whether Struts is in development mode or not ET.dI.R8  
      是否为struts开发模式 ;g+]klR!  
wN(&5rfS  
struts.dispatcher.parametersWorkaround d*2u}1Jo8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0\Y1}C  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DHv2&zH  
W qE '(  
struts.enable.DynamicMethodInvocation !>3LGu,  
      Allows one to disable dynamic method invocation from the URL gqfDa cDJL  
        允许动态方法调用 6J\fF tB@V  
>La><.z~  
struts.freemarker.manager.classname i'=2Y9S}  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,5{$+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q_sEw~~@!  
%m`zWg-  
struts.i18n.encoding lI6W$V\,  
      The encoding to use for localization messages &n>7Ir  
      国际化信息内码 cI:-Z{M7z  
at| \FOKj  
struts.i18n.reload n'M>xq_  
      Whether the localization messages should automatically be reloaded 'mE^5K  
      是否国际化信息自动加载 0e16Ow6\!1  
pawl|Z'Ez  
struts.locale m(_9<bc>  
      The default locale for the Struts application ~x#vZ=]8  
      默认的国际化地区信息 KP{3iUqvO  
r[pF^y0   
struts.mapper.class ]Lm'RlV  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /8c&Axuv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 mp1ttGUtM  
ix&'0IrX*  
struts.multipart.maxSize 4MLH+/e  
      The maximize size of a multipart request (file upload) Jzex]_:1~  
      multipart请求信息的最大尺寸(文件上传用) ||Y<f *  
^2C>L}  
struts.multipart.parser EI1? GB)b  
      The org.apache.struts2.dispatcher.multipart. rt}^4IqL  
      MultiPartRequest parser implementation for a multipart request (file upload) 5JSrrpGr  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) UQPU"F7.  
!OAvD#  
t)a;/scT  
struts.multipart.saveDir ].mqxf  
      The directory to use for storing uploaded files JN(-.8<  
      设置存储上传文件的目录夹 /{*$JF  
L'E^c,-x~  
struts.objectFactory VaR/o#  
      The com.opensymphony.xwork2.ObjectFactory implementation class KY.ZT2k  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GLUUY0  
:_HF j.JW  
struts.objectFactory.spring.autoWire tj5giQ3DG)  
      Whether Spring should autoWire or not  f^b K=#  
      是否自动绑定Spring \TbVS8e^  
MKg,!TELe  
struts.objectFactory.spring.useClassCache #*^+F?o,(  
      Whether Spring should use its class cache or not 6q/ ?-Qcy  
      是否spring应该使用自身的cache 93o;n1rS  
J2M(1g)t9  
struts.objectTypeDeterminer Mvcfk$pA  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <+tD z(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {' 5qv@3  
rRb+_]Lg  
struts.serve.static.browserCache ^4pto$#@O:  
If static content served by the Struts filter should set browser caching header properties or not fZ{[]dn[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 XKU=oI0\j  
46No%cSiG  
struts.serve.static Im?LIgt$  
      Whether the Struts filter should serve static content or not NNkP\oh\  
      是否struts过滤器应该提供静态内容 8dO?K*J,H'  
.*5Z"Q['G  
struts.tag.altSyntax JL^2l$up  
      Whether to use the alterative syntax for the tags or not HdX2YPYn;  
      是否可以用替代的语法替代tags E>uVofhml  
S#l5y%&  
struts.ui.templateDir A9:NKY{z  
      The directory containing UI templates %X1x4t]  
      UI templates的目录夹 I;MD>%[W,  
cgT  
struts.ui.theme mUP.rb6  
      The default UI template theme <48<86TP  
      默认的UI template主题 ^J/)6/TMXm  
~)]} 91p  
struts.url.http.port +OHGn;C  
      The HTTP port used by Struts URLs K[?Xm"4  
      设置http端口 %D=]ZV](  
U5r}6D!)  
struts.url.https.port S4o$t -9l  
      The HTTPS port used by Struts URLs Ym8}ZW-  
      设置https端口 Y%aWK~O  
rZ03x\2  
struts.url.includeParams 8y2+&#$  
      The default includeParams method to generate Struts URLs  kLP0{A  
      在url中产生 默认的includeParams UQ?%|y*Kc  
X$n(-65  
zu\`1W^  
struts.velocity.configfile 6 ,b"  
      The Velocity configuration file path 3iNkoBCg  
      velocity配置文件路径 $lwz-^1t.  
)%Iv[TB[  
struts.velocity.contexts ,_ 2x{0w:>  
      List of Velocity context names N_gD>6I  
      velocity的context列表 Bi%x`4Lf  
&#{dWObh  
r6.d s^  
struts.velocity.manager.classname e":G*2a  
      org.apache.struts2.views.velocity.VelocityManager implementation class mTDVlw0dh  
      org.apache.struts2.views.velocity.VelocityManager接口名 &, a3@i  
Fke//- R  
struts.velocity.toolboxlocation 7<\C ?`q"  
      The location of the Velocity toolbox C(?blv-vM0  
      velocity工具盒的位置 V-yUJ#f8[  
struts.xslt.nocache @'2m$a  
      Whether or not XSLT templates should not be cached +0$/y]k  
      是否XSLT模版应该被缓存 r%]Qlt ~K  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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