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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 } Xbmb8  
f4%Z~3P  
struts.action.extension 4eF qD;  
      The URL extension to use to determine if the request is meant for a Struts action *Ubsa9'fS  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Y~E 8z  
`_YXU  
struts.configuration <{ZDD]UGs0  
      The org.apache.struts2.config.Configuration implementation class ltQo_k  
        org.apache.struts2.config.Configuration接口名 i}u,_ }  
(AYzN3 ?D  
struts.configuration.files #)}K,FDd  
      A list of configuration files automatically loaded by Struts 7:[u.cd  
      struts自动加载的一个配置文件列表 s#Os?Q?  
1SAO6Wh  
struts.configuration.xml.reload C{{RU7iqc&  
      Whether to reload the XML configuration or not EM2=g9y  
      是否加载xml配置(true,false) #VM+.75o1  
%mqep5n(  
struts.continuations.package ]>v C.iYp  
      The package containing actions that use Rife continuations wh Hp}r  
      含有actions的完整连续的package名称 %#go9H(K  
p{@jM  
struts.custom.i18n.resources FIMM\W  
      Location of additional localization properties files to load 5#275Hyv  
      加载附加的国际化属性文件(不包含.properties后缀) W;Y"J_  
;$nCQ/ /  
struts.custom.properties v2Ft=_*G|  
      Location of additional configuration properties files to load s9#WkDR  
      加载附加的配置文件的位置 6Qc *:(GE  
$ jkzm8{W  
:@rq+wvP  
struts.devMode 1k)31GEQw  
      Whether Struts is in development mode or not _cc3 7[  
      是否为struts开发模式 8'>yB  
$^TxLv  
struts.dispatcher.parametersWorkaround uSsP'qd  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5q^5DH_;  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *x!j:/S`n  
B~ ?R 6  
struts.enable.DynamicMethodInvocation L`2(u!i J  
      Allows one to disable dynamic method invocation from the URL t.rlC5 k  
        允许动态方法调用 vRhI:E)So#  
SO|!x}GfI  
struts.freemarker.manager.classname D6I-:{ws  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class m|uVmg!*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FOyANN'  
wC>}9OM  
struts.i18n.encoding ;No i H&  
      The encoding to use for localization messages 7|@FN7]5NF  
      国际化信息内码 K ' ?`'7  
dz6&TdEl  
struts.i18n.reload W{$J)iQ  
      Whether the localization messages should automatically be reloaded `w8Ejm?n  
      是否国际化信息自动加载 E8/Pi>QW  
BT^Im=A  
struts.locale q _INGCJ  
      The default locale for the Struts application ~0@ uR  
      默认的国际化地区信息 C6JwJYa  
-<6b[YA  
struts.mapper.class 9GX'+$R]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class FfRvi8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A(D>Zh6o@  
u?4d<%5R!  
struts.multipart.maxSize f8?hEa:js  
      The maximize size of a multipart request (file upload) eK[9wEdn  
      multipart请求信息的最大尺寸(文件上传用) iBPIj;,  
H2S/!Q;K  
struts.multipart.parser $jg~ a  
      The org.apache.struts2.dispatcher.multipart. RRb>]oD  
      MultiPartRequest parser implementation for a multipart request (file upload) H73 r3BH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |jI|} ,I  
gJ H^f3  
cd&sAK"  
struts.multipart.saveDir @ N@ !Q  
      The directory to use for storing uploaded files V8O-|7H$ v  
      设置存储上传文件的目录夹 Eo`'6 3  
V.e30u5  
struts.objectFactory 5yL\@7u`  
      The com.opensymphony.xwork2.ObjectFactory implementation class **CGkL  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 03n+kh  
\nUJ)w  
struts.objectFactory.spring.autoWire >:bXw#w]  
      Whether Spring should autoWire or not WCYVonbg"  
      是否自动绑定Spring ?!.L#]23f  
<lZVEg  
struts.objectFactory.spring.useClassCache w5+(A_  
      Whether Spring should use its class cache or not Yc:>Yzj(z  
      是否spring应该使用自身的cache Z5V_?bm$  
m;J'y2h =$  
struts.objectTypeDeterminer yRivf.wH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ok1w4#%,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \;+TZ1i_  
0}` 0!Kv  
struts.serve.static.browserCache N^{}Qvrr  
If static content served by the Struts filter should set browser caching header properties or not _oHxpeM  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b{CS1P  
%0zp`'3Y  
struts.serve.static mKLWz1GZ  
      Whether the Struts filter should serve static content or not cte Wl/v  
      是否struts过滤器应该提供静态内容 % kaV ?j  
M_O)w^ '  
struts.tag.altSyntax k5|GN Y6a  
      Whether to use the alterative syntax for the tags or not {t*CSI  
      是否可以用替代的语法替代tags O!'gylj/  
{Ia1Wd8n  
struts.ui.templateDir BZa`:ah~x  
      The directory containing UI templates 98maQQWD  
      UI templates的目录夹 Jz]OWb *  
YIs_.CTi  
struts.ui.theme b w!  
      The default UI template theme l>T]Y  
      默认的UI template主题 v"*c\,  
19:1n]*X<  
struts.url.http.port ?jU 3%"  
      The HTTP port used by Struts URLs dG!)<  
      设置http端口 dbg%n 0h  
 e**5_L  
struts.url.https.port _Qq lOc9  
      The HTTPS port used by Struts URLs q26 qY5D  
      设置https端口 GBTwQYF  
9aYVbq""  
struts.url.includeParams ck$>   
      The default includeParams method to generate Struts URLs :7*9W|e  
      在url中产生 默认的includeParams GF36G?iEi  
5,BvT>zFY  
y[/:?O}g4  
struts.velocity.configfile <OrQbrWQa  
      The Velocity configuration file path dt Br#Te  
      velocity配置文件路径 fRwr}n'  
~uG/F?= Q:  
struts.velocity.contexts q#F+^)DD [  
      List of Velocity context names hT% >)71  
      velocity的context列表 VHLt, ?G  
yuhY )T  
ba)hWtenH  
struts.velocity.manager.classname tqpSir  
      org.apache.struts2.views.velocity.VelocityManager implementation class gX`C76P!  
      org.apache.struts2.views.velocity.VelocityManager接口名 {*"\6 8e  
NOFH  
struts.velocity.toolboxlocation Q]]M;(  
      The location of the Velocity toolbox /GF"D5  
      velocity工具盒的位置 %Q=rm!Syv  
struts.xslt.nocache ]l"9B'XR  
      Whether or not XSLT templates should not be cached SB:z[kfz|  
      是否XSLT模版应该被缓存 lSy_cItF  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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