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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 j%0 g *YI  
[h :FJ  
struts.action.extension =1kjKE !  
      The URL extension to use to determine if the request is meant for a Struts action 1n ZE9;o  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0xutG/-&N  
64!V8&Ay  
struts.configuration !91<K{#A{  
      The org.apache.struts2.config.Configuration implementation class ]_)=xF19  
        org.apache.struts2.config.Configuration接口名 HPWjNwM  
VM ny>g&3  
struts.configuration.files XN' X&J  
      A list of configuration files automatically loaded by Struts > cJX'U9  
      struts自动加载的一个配置文件列表 A7 :W0Gg  
[C~{g#  
struts.configuration.xml.reload X"G3lG  
      Whether to reload the XML configuration or not y+[wlo&WC  
      是否加载xml配置(true,false) Yc'7F7.<6  
[26([H  
struts.continuations.package YI?y_S  
      The package containing actions that use Rife continuations HaamLu  
      含有actions的完整连续的package名称 }oTac  
~&IL>2-B  
struts.custom.i18n.resources P(r}<SM  
      Location of additional localization properties files to load 80M4~'3  
      加载附加的国际化属性文件(不包含.properties后缀) KK*"s^ L  
0:Lm=9o  
struts.custom.properties cE= v566  
      Location of additional configuration properties files to load IF*kLl?  
      加载附加的配置文件的位置 hE/y"SP3  
I-q@@! =  
>&9Iy"  
struts.devMode C>7k|;BvF  
      Whether Struts is in development mode or not `qsn;  
      是否为struts开发模式 eVWnD,'  
]HP  
struts.dispatcher.parametersWorkaround e{9(9qE"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic A d7=JzV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [ !:.9  
Hv>Hz*s_I  
struts.enable.DynamicMethodInvocation G#0 4h{  
      Allows one to disable dynamic method invocation from the URL M:(k7a+[^  
        允许动态方法调用 UIv 2wA2  
71w$i 4  
struts.freemarker.manager.classname \h"QgHzp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Im_`q\i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 MgLz:2 :F  
N|1k6g=0  
struts.i18n.encoding !'C^qrh  
      The encoding to use for localization messages *K\/5Fzl  
      国际化信息内码 D &wm7,  
3C8'@-U  
struts.i18n.reload Z,,Wo %)o  
      Whether the localization messages should automatically be reloaded r,b-c  
      是否国际化信息自动加载 (#. )~poZ  
/$x6//0If  
struts.locale 18!0H l>  
      The default locale for the Struts application lBTgI"n=eK  
      默认的国际化地区信息 D`.CXFI+U  
Efw/bTEg  
struts.mapper.class |^@TA=_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o0Hh&:6!M  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 L+QEFQ:r5  
$y >J=  
struts.multipart.maxSize 8DLMxG  
      The maximize size of a multipart request (file upload) ,k@fX oW  
      multipart请求信息的最大尺寸(文件上传用) ? B^*YCo7(  
4 ITSDx  
struts.multipart.parser &e% y|{Y  
      The org.apache.struts2.dispatcher.multipart. Wm.SLr,o0  
      MultiPartRequest parser implementation for a multipart request (file upload) rq6(^I  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s4}}MV3X  
I)O-i_}L&K  
cEw/F0  
struts.multipart.saveDir ]0dp^%  
      The directory to use for storing uploaded files R m *"SG  
      设置存储上传文件的目录夹 `h Y:F(  
D1lHq/  
struts.objectFactory bd<zn*H Z*  
      The com.opensymphony.xwork2.ObjectFactory implementation class x<=+RYz#^:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Xf9VW}`*8  
_&JlE$ua7  
struts.objectFactory.spring.autoWire Ty]CdyL$  
      Whether Spring should autoWire or not 5NeEDY 2%#  
      是否自动绑定Spring tL;;Yt  
7IZ(3B<87t  
struts.objectFactory.spring.useClassCache q^dI!93n|  
      Whether Spring should use its class cache or not ScfW;  
      是否spring应该使用自身的cache w];t]q|  
iygdX2  
struts.objectTypeDeterminer /sdkQ{J!.  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,)Z^b$H]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 WohK,<Or  
'J<KL#og  
struts.serve.static.browserCache 'L0 2lM  
If static content served by the Struts filter should set browser caching header properties or not c#`Z[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S3j/(BG  
M* QqiE  
struts.serve.static })bTQj7  
      Whether the Struts filter should serve static content or not 0  x"3  
      是否struts过滤器应该提供静态内容 x_(B7ob  
NCSb`SC:  
struts.tag.altSyntax Q9#$4  
      Whether to use the alterative syntax for the tags or not ]Wv\$JXI  
      是否可以用替代的语法替代tags **0Y*Ax@  
l=EIbh  
struts.ui.templateDir XX}RbE#4  
      The directory containing UI templates } "y{d@  
      UI templates的目录夹 94|BSxc  
KY"W{D9ib  
struts.ui.theme I%*o7"  
      The default UI template theme +5);"71  
      默认的UI template主题 iAWPE`u4  
&g@?{5FP  
struts.url.http.port UwdcU^xt9  
      The HTTP port used by Struts URLs `t ZvIy*  
      设置http端口 :fpYraBM  
bUz7!M$  
struts.url.https.port |n~,$  
      The HTTPS port used by Struts URLs O2Rv^la  
      设置https端口 S <|e/![@  
0-4WLMx  
struts.url.includeParams XRj<2U 5  
      The default includeParams method to generate Struts URLs lgA9p 4-  
      在url中产生 默认的includeParams "vjz $.  
a*S4rq@  
R[Kyq|UyVr  
struts.velocity.configfile aCFO ]  
      The Velocity configuration file path cy/;qd+!M  
      velocity配置文件路径 &Cdk%@Tj]B  
1"~@UcJ  
struts.velocity.contexts @ou g^]a  
      List of Velocity context names k9WihejS  
      velocity的context列表 LfrS:g  
&HZ"<y{j  
7PP76$  
struts.velocity.manager.classname i6(y Bn  
      org.apache.struts2.views.velocity.VelocityManager implementation class xk.\IrB_  
      org.apache.struts2.views.velocity.VelocityManager接口名 }3^t,>I=,6  
jcOxtDTSW  
struts.velocity.toolboxlocation .#J'+LxFr  
      The location of the Velocity toolbox ;9 XM s)  
      velocity工具盒的位置 i~.L{K  
struts.xslt.nocache J0lTp /  
      Whether or not XSLT templates should not be cached =JNoC01D  
      是否XSLT模版应该被缓存 qV^,muyoG  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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