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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Zb&5)&'X  
\&XtPQ  
struts.action.extension xR~9|H9a  
      The URL extension to use to determine if the request is meant for a Struts action _keI0ML-#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8x~'fzf;Sq  
td!YwN*  
struts.configuration b)(si/]\  
      The org.apache.struts2.config.Configuration implementation class u.yjk/jF  
        org.apache.struts2.config.Configuration接口名 eeVzOq(  
TxA%{0  
struts.configuration.files ;{j@ia  
      A list of configuration files automatically loaded by Struts RKb{QAK!v  
      struts自动加载的一个配置文件列表 ->9waXRDz)  
R+&{lc  
struts.configuration.xml.reload ;owU]Xk%8K  
      Whether to reload the XML configuration or not TdKo"H*C  
      是否加载xml配置(true,false) qsG}A  
yd=NafPM  
struts.continuations.package ]39])ul  
      The package containing actions that use Rife continuations <^n@q f}  
      含有actions的完整连续的package名称 wn Q% 'Eo  
nN'>>'@>  
struts.custom.i18n.resources p3Z[-2I  
      Location of additional localization properties files to load K3;~|U-l  
      加载附加的国际化属性文件(不包含.properties后缀) Xs Ey8V  
c&"OhzzJK'  
struts.custom.properties ET\>cxSp  
      Location of additional configuration properties files to load werTwe2Q  
      加载附加的配置文件的位置 E0t%]?1  
UA3!28Y&E3  
qZ<|A%WQ  
struts.devMode a/Ik^:>m  
      Whether Struts is in development mode or not Nm{J=`  
      是否为struts开发模式 -Pp =)_O  
:"Gd;~p.  
struts.dispatcher.parametersWorkaround Sp-M:,H3H  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Yu+;vjbK-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 19]O;  
` st^i$A  
struts.enable.DynamicMethodInvocation %) /Bl.{}<  
      Allows one to disable dynamic method invocation from the URL 70F(`;  
        允许动态方法调用 ? 4v"y@v  
k=  
struts.freemarker.manager.classname GLiD,QX<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R<Uu(-O-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 y.aeXlc[  
LL%s$>c65A  
struts.i18n.encoding uB;PaZ G?{  
      The encoding to use for localization messages SU7 erCHX  
      国际化信息内码 [P3 Z"&  
WNp-V02l  
struts.i18n.reload i Qa=4'9;  
      Whether the localization messages should automatically be reloaded ;mauA#vd  
      是否国际化信息自动加载 )U +Pt98"  
*@E&O^%cO  
struts.locale %df[8eX{  
      The default locale for the Struts application >>.4@  
      默认的国际化地区信息 k/m-jm_h  
_zG[b/:p  
struts.mapper.class xX~; /e&,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Gj- *D7X5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 MT^krv(G  
?'mi6jFFh  
struts.multipart.maxSize }kF*I@:g  
      The maximize size of a multipart request (file upload) mNQ*YCq.  
      multipart请求信息的最大尺寸(文件上传用) 5;[h&jH  
"ZR^w5  
struts.multipart.parser P"s7}cl  
      The org.apache.struts2.dispatcher.multipart. nC@UK{tVa  
      MultiPartRequest parser implementation for a multipart request (file upload) xG8z4Yu   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w1,6%?p(O  
8;fi1 "F;}  
1z-Q~m@@  
struts.multipart.saveDir IJ2>\bW_p  
      The directory to use for storing uploaded files f}:W1&LhI?  
      设置存储上传文件的目录夹 \w=*:Z  
qM9> x:V  
struts.objectFactory Rf#t|MW*#  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;|D8"D6]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;T|hNsSt  
s}Q*zy  
struts.objectFactory.spring.autoWire 2 X`5YN;  
      Whether Spring should autoWire or not nD!5I@D  
      是否自动绑定Spring te b/  
%)}y[ (  
struts.objectFactory.spring.useClassCache pVC; ''E  
      Whether Spring should use its class cache or not OcZ8:`=%  
      是否spring应该使用自身的cache ;hkzL_' E)  
!3Ed0h]Bfa  
struts.objectTypeDeterminer 8gXf4A(N  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class - %`iLu  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *:,y`!F=y  
_Bq[c  
struts.serve.static.browserCache D`@*udn=  
If static content served by the Struts filter should set browser caching header properties or not lk%W2N5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /F_(&H!m  
mAuN* (  
struts.serve.static ct@i]}"`  
      Whether the Struts filter should serve static content or not ,_U3p ,  
      是否struts过滤器应该提供静态内容 A>Xt 5vk+  
o(3`-ucD`  
struts.tag.altSyntax `cpUl*Y=  
      Whether to use the alterative syntax for the tags or not l>?k>NEpP  
      是否可以用替代的语法替代tags 4qg] oiT  
ds<q"S {p  
struts.ui.templateDir \"=b8x  
      The directory containing UI templates wKj0vMW  
      UI templates的目录夹 mVEHVz $  
EM0]"s@Lf  
struts.ui.theme BLcsIyq  
      The default UI template theme T)#eaz$4W  
      默认的UI template主题 $#7~  
 rhO 8v  
struts.url.http.port {"@E_{\  
      The HTTP port used by Struts URLs (7?jjH^4  
      设置http端口 I>%@[h,+  
{ GKqOu  
struts.url.https.port O`2hTY\  
      The HTTPS port used by Struts URLs #_4JTGJ  
      设置https端口 2R`/Oox   
@ >Ul0&Mf?  
struts.url.includeParams Z >F5rkJ  
      The default includeParams method to generate Struts URLs IWP[?U=  
      在url中产生 默认的includeParams =J827c{.  
D",~?  
50Y^##]&  
struts.velocity.configfile ?%wM8?  
      The Velocity configuration file path p<AzpkU,A  
      velocity配置文件路径 Vv~:^6il  
@ Yzc?+x  
struts.velocity.contexts :yE7jXB  
      List of Velocity context names }@NT#hD  
      velocity的context列表 5d5q0bb  
07qL@![!  
W6L}T,epX  
struts.velocity.manager.classname [y1 x`WOk9  
      org.apache.struts2.views.velocity.VelocityManager implementation class JN<IMH  
      org.apache.struts2.views.velocity.VelocityManager接口名 @DK;i_i  
[XDr-5Dm  
struts.velocity.toolboxlocation # `b5kqQm  
      The location of the Velocity toolbox 8VLD yX2-  
      velocity工具盒的位置 .80L>0  
struts.xslt.nocache 7) e#b  
      Whether or not XSLT templates should not be cached rulw6vTB(  
      是否XSLT模版应该被缓存  4xnM7t\  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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