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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .@q-B+Eg  
6 K` c/)  
struts.action.extension 8eBOr9l+j  
      The URL extension to use to determine if the request is meant for a Struts action 'XrRhF (  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }n_p$g[Nj/  
Yc r3HLJy  
struts.configuration &MZ$j46  
      The org.apache.struts2.config.Configuration implementation class y&m0Lz53Z  
        org.apache.struts2.config.Configuration接口名 M:KbD|  
b2,mCfLsv  
struts.configuration.files U9y|>P\)T  
      A list of configuration files automatically loaded by Struts "9EE1];NT  
      struts自动加载的一个配置文件列表 j%u-dr  
$?G"GQ!.  
struts.configuration.xml.reload IP`6bMd  
      Whether to reload the XML configuration or not oX@ya3!Pz  
      是否加载xml配置(true,false) TL$EV>Nr  
cJo\#cr  
struts.continuations.package 7?8wyk|x  
      The package containing actions that use Rife continuations "xmP6=1  
      含有actions的完整连续的package名称 w]b,7QuNz  
NcOPL\  
struts.custom.i18n.resources g]c[O*NTL  
      Location of additional localization properties files to load le+R16Z  
      加载附加的国际化属性文件(不包含.properties后缀) kE8>dmH23  
W7"{r)7  
struts.custom.properties Pi,QHb`>  
      Location of additional configuration properties files to load ?"#%SKm  
      加载附加的配置文件的位置 j"^ +oxH  
>d"3<S ; b  
H1GRMDNXOA  
struts.devMode Pg9hW  
      Whether Struts is in development mode or not d)cOhZy  
      是否为struts开发模式 Z=B_Ty  
f<=Fsl  
struts.dispatcher.parametersWorkaround W?yd#j  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y2B &go  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9Zry]$0~R  
=S'%`]f?  
struts.enable.DynamicMethodInvocation G22NQ~w8  
      Allows one to disable dynamic method invocation from the URL  [,n c  
        允许动态方法调用 :j|IP)-f  
{oc igR 0  
struts.freemarker.manager.classname I? THa<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w -Nhs6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 iGB_{F~t4}  
CT0l!J~5m~  
struts.i18n.encoding mk7&<M  
      The encoding to use for localization messages [7(-T?_  
      国际化信息内码 kGpa\c g1  
Wg{k$T_>  
struts.i18n.reload l4n)#?Q?  
      Whether the localization messages should automatically be reloaded ^7;JC7qmN  
      是否国际化信息自动加载 f\'{3I29  
EbeI{ -'aF  
struts.locale [."[pY  
      The default locale for the Struts application DD" $1o"  
      默认的国际化地区信息 gaA<}Tp,  
9/+Nj/  
struts.mapper.class o6f_l^+H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k = ?h~n0M  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =@TQ>Qw%b  
GgaTn!mJt  
struts.multipart.maxSize ,-x!$VqS  
      The maximize size of a multipart request (file upload)  h:lt<y  
      multipart请求信息的最大尺寸(文件上传用) Ii7QJ:^  
%uv?we7  
struts.multipart.parser l5l>d62  
      The org.apache.struts2.dispatcher.multipart. ikE<=:pe  
      MultiPartRequest parser implementation for a multipart request (file upload) Fnk_\d6Ma  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *'Z B*>  
7'NwJ,$6\  
s2j['g5  
struts.multipart.saveDir cYXM__  
      The directory to use for storing uploaded files eZ"1gYqy  
      设置存储上传文件的目录夹 olLfko4$*V  
R/"x}B1d  
struts.objectFactory - 0?^#G}3}  
      The com.opensymphony.xwork2.ObjectFactory implementation class Xl@cHO=i  
      com.opensymphony.xwork2.ObjectFactory接口(spring) O;7)Hjwt  
''\;z<v   
struts.objectFactory.spring.autoWire eNiaM6(J  
      Whether Spring should autoWire or not 1-.~7yC  
      是否自动绑定Spring D&HV6#  
(E]!Z vE  
struts.objectFactory.spring.useClassCache E( us'9c   
      Whether Spring should use its class cache or not ; S xFp  
      是否spring应该使用自身的cache bQ|V!mrN}  
i-yy/y-N  
struts.objectTypeDeterminer v&Kqq!DE  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class iAa;6mH  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r-,e;o>9  
64:fs?H  
struts.serve.static.browserCache pLv$\ MiZ  
If static content served by the Struts filter should set browser caching header properties or not =IAsH85Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *,BzcZ  
(knp#   
struts.serve.static Wu)>U  
      Whether the Struts filter should serve static content or not Z,iHy3`  
      是否struts过滤器应该提供静态内容 )}9rwZ  
')GSAY7  
struts.tag.altSyntax !bV5Sr^  
      Whether to use the alterative syntax for the tags or not d;n."+=[x  
      是否可以用替代的语法替代tags >vo=]c w  
tE7[Smzuf  
struts.ui.templateDir :x_'i_w  
      The directory containing UI templates ? `J[[",  
      UI templates的目录夹 O{ /q-~_  
cyJG8f  
struts.ui.theme %/updw#{B  
      The default UI template theme soCi[j$lH  
      默认的UI template主题 _#vrb;.+  
q\H[am  
struts.url.http.port NY?;erX  
      The HTTP port used by Struts URLs h;3cd0  
      设置http端口 %c[V  
!Ra*)b "  
struts.url.https.port 5E notp[  
      The HTTPS port used by Struts URLs ,]T2$?|  
      设置https端口 s=42uKz  
1{P'7IEj  
struts.url.includeParams KF4PJi;*  
      The default includeParams method to generate Struts URLs fU!<HD h  
      在url中产生 默认的includeParams |*`Z*6n  
*{+G=d  
`=7j$#6U  
struts.velocity.configfile Y3O#Q)-j$  
      The Velocity configuration file path =Fdg/X1  
      velocity配置文件路径 I[n ^{8gz  
|\n_OS 7  
struts.velocity.contexts 6d+p7x  
      List of Velocity context names \}]!)}G  
      velocity的context列表 ^n+!4(@=  
rSrIEP,c'  
"le>_Ze_>|  
struts.velocity.manager.classname u_rdmyq$x/  
      org.apache.struts2.views.velocity.VelocityManager implementation class hdVdcnM  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;V<fB/S.=+  
'MY/*k7:  
struts.velocity.toolboxlocation D.mHIsX6\  
      The location of the Velocity toolbox  wd)jl%  
      velocity工具盒的位置 <vwkjCA`  
struts.xslt.nocache o;?/HE%,[  
      Whether or not XSLT templates should not be cached (64yg  
      是否XSLT模版应该被缓存 hqRw^2F  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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