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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 O% $O(l  
Jt=>-Spj  
struts.action.extension Bymny>.M  
      The URL extension to use to determine if the request is meant for a Struts action k|j:T[_  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L|67f4  
?!S GiARW?  
struts.configuration Yn<)k_kp  
      The org.apache.struts2.config.Configuration implementation class qei$<j'b  
        org.apache.struts2.config.Configuration接口名 }98-5'u.X  
SMO*({/  
struts.configuration.files .ZX2^)`XD  
      A list of configuration files automatically loaded by Struts xZ ;bMxZ  
      struts自动加载的一个配置文件列表 3M*Y= ?pI  
[j0w\{  
struts.configuration.xml.reload ^ KOzCLC  
      Whether to reload the XML configuration or not *{[d%B<lp  
      是否加载xml配置(true,false) b(&] >z  
xrI}3T  
struts.continuations.package -Bv 12ymLG  
      The package containing actions that use Rife continuations bXvbddu)}  
      含有actions的完整连续的package名称 ,}7_[b)&V  
1uM/2sX  
struts.custom.i18n.resources ua#K>su r.  
      Location of additional localization properties files to load `]>on`n?  
      加载附加的国际化属性文件(不包含.properties后缀) VO-784I  
qZsnd7o{l.  
struts.custom.properties VkXn8J  
      Location of additional configuration properties files to load ~CFMIQ et  
      加载附加的配置文件的位置 Bz:0L1@,4a  
K%2I  
NsmVddj  
struts.devMode 3+ asP&n  
      Whether Struts is in development mode or not {3 o% d:  
      是否为struts开发模式 H m8y]>$  
I#c(J  
struts.dispatcher.parametersWorkaround iS05YW  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic A2_Ls;]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) EXHR(t}e  
yBe(^ n  
struts.enable.DynamicMethodInvocation ha>SZnKD{  
      Allows one to disable dynamic method invocation from the URL PP4d?+;V  
        允许动态方法调用 5"2@NL  
=1Sy@MbH3  
struts.freemarker.manager.classname MB O,\t.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;tr)=)q &  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Rp4FXR jC  
gMay  
struts.i18n.encoding 9:\A7 =  
      The encoding to use for localization messages pn*d[M|k  
      国际化信息内码  2}!R T  
iiN?\OO^~  
struts.i18n.reload sL mW\\kA>  
      Whether the localization messages should automatically be reloaded bL MkPty  
      是否国际化信息自动加载 L8D m9}  
3N3*`?5c<  
struts.locale kA,4$ 2_o  
      The default locale for the Struts application JP%RTGu  
      默认的国际化地区信息 jrcc  
Rk{$S"8S_  
struts.mapper.class @Yarz1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `skH-lk,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %IU4\ZY>  
5~yQ>h  
struts.multipart.maxSize d'q&Lq  
      The maximize size of a multipart request (file upload) "c EvFY  
      multipart请求信息的最大尺寸(文件上传用) 8J^d7uC  
+7^w9G  
struts.multipart.parser i&pMF O  
      The org.apache.struts2.dispatcher.multipart. 0STk)> 3$-  
      MultiPartRequest parser implementation for a multipart request (file upload) `.`FgaJ |  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) APOea  
oFn4%S:  
~D_ rZ&  
struts.multipart.saveDir :SdIU36  
      The directory to use for storing uploaded files M;PlSb  
      设置存储上传文件的目录夹 ~QO< B2hS}  
. Nk6  
struts.objectFactory 'Ye]eL,I\  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1sMV`qv>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !,R  
]%||KC!O  
struts.objectFactory.spring.autoWire 6ku8`WyoF  
      Whether Spring should autoWire or not 6T]Q.\5BZ  
      是否自动绑定Spring 5@iy3olP  
Sn0Xl3yr  
struts.objectFactory.spring.useClassCache sB8p( L  
      Whether Spring should use its class cache or not uiuTv)pwF  
      是否spring应该使用自身的cache -$b?rt]h1g  
eA10xpM0  
struts.objectTypeDeterminer dkETM,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i >J:W"W   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 do*Wx2:R  
a0)vvo=bz  
struts.serve.static.browserCache cS5w +`,L  
If static content served by the Struts filter should set browser caching header properties or not <w;D$l}u  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 EI<"DB   
01-p `H+  
struts.serve.static g8Ok ^  
      Whether the Struts filter should serve static content or not qPp]K?.  
      是否struts过滤器应该提供静态内容 <kROH0+  
Fu#Y7)r  
struts.tag.altSyntax +$'e4EwqV  
      Whether to use the alterative syntax for the tags or not xL|?(pQ/BK  
      是否可以用替代的语法替代tags _pJX1_vD  
=SA 4\/  
struts.ui.templateDir C CC4(v  
      The directory containing UI templates 3SmqXPOw  
      UI templates的目录夹 3HXh6( e  
{6ajsy5=  
struts.ui.theme #3YdjU3w  
      The default UI template theme 9]"\"ka3>  
      默认的UI template主题 _Wq7U1v`  
fQ^h{n  
struts.url.http.port u|(aS^H=q  
      The HTTP port used by Struts URLs LPsh?Ca?N  
      设置http端口 K,Lr +  
w6%l8+{R  
struts.url.https.port OX'/?B((  
      The HTTPS port used by Struts URLs ;<86P3S  
      设置https端口 XA=|]5C  
*{HGLl|=  
struts.url.includeParams rHH#@ Zx  
      The default includeParams method to generate Struts URLs hLu&lY  
      在url中产生 默认的includeParams JiG8jB7%}  
u!sSgx =  
^!N;F"  
struts.velocity.configfile VG? yL2y  
      The Velocity configuration file path :k Rv  
      velocity配置文件路径 Lx9hq7<  
Vjv6\;tt8  
struts.velocity.contexts V*0Y_T{_  
      List of Velocity context names aMe%#cLI  
      velocity的context列表 >?H_A  
<6~/sa4GN  
\UV T_=Y  
struts.velocity.manager.classname O%r S;o  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0tn7Rkiw  
      org.apache.struts2.views.velocity.VelocityManager接口名 0b!fWS?,k0  
,Gf+U7'K  
struts.velocity.toolboxlocation r%O rH-T  
      The location of the Velocity toolbox &e5^v  
      velocity工具盒的位置 h5h-}qBA  
struts.xslt.nocache yTMGISX5  
      Whether or not XSLT templates should not be cached mE)x7  
      是否XSLT模版应该被缓存 s2,`eV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五