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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /88s~=  
n(F!t,S1i  
struts.action.extension r.H`3m.0q  
      The URL extension to use to determine if the request is meant for a Struts action )r9 9zdUk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !uEEuD#  
BY6#dlDi  
struts.configuration o{s2T)2  
      The org.apache.struts2.config.Configuration implementation class lnZ{Ryo(  
        org.apache.struts2.config.Configuration接口名 5.~Je6K U  
'8X>,un  
struts.configuration.files S 5S\zTPIf  
      A list of configuration files automatically loaded by Struts 6ZQ |L=Ytp  
      struts自动加载的一个配置文件列表 v03cQw\"WE  
6$k#B ~~  
struts.configuration.xml.reload X1| +9  
      Whether to reload the XML configuration or not 7=6:ZSI  
      是否加载xml配置(true,false) At(88(y-W  
)5Khl"6!z  
struts.continuations.package K&L!O3#(  
      The package containing actions that use Rife continuations Uk?G1]$mL  
      含有actions的完整连续的package名称 uYUFxm  
XQ]K,# i  
struts.custom.i18n.resources Yr9'2.%Q  
      Location of additional localization properties files to load y *i&p4Y*  
      加载附加的国际化属性文件(不包含.properties后缀) MgJ6{xzz  
7=l~fKu  
struts.custom.properties aDbqh~7  
      Location of additional configuration properties files to load S>yiD`v  
      加载附加的配置文件的位置 r6m^~Wq!}  
Xul`>8y|  
x%B_v^^^  
struts.devMode ?Z#N9Z~\  
      Whether Struts is in development mode or not OsgPNy0  
      是否为struts开发模式 ,"%C.9a  
Z,).)y#B  
struts.dispatcher.parametersWorkaround /s\ m V  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }T?X6LA$I8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4era5=  
) O0Cz n  
struts.enable.DynamicMethodInvocation YJJ1N/Z1  
      Allows one to disable dynamic method invocation from the URL AjVC{\Ik  
        允许动态方法调用 m!V,W*RNr  
hLO)-ueb  
struts.freemarker.manager.classname yE$PLM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R}&?9tVRR  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 uwNJM  
,-c,3/tyA  
struts.i18n.encoding 66v,/#K  
      The encoding to use for localization messages ]EiM~n  
      国际化信息内码 pHeG{<^  
11H`WOTQF  
struts.i18n.reload = L!&Z  
      Whether the localization messages should automatically be reloaded :R;w<Tbz"  
      是否国际化信息自动加载 k%.v`H!  
\]ib%,:YU  
struts.locale 2.q Zs8&  
      The default locale for the Struts application hY"eGaoF"  
      默认的国际化地区信息 LE\*33k_  
(Z),gxt  
struts.mapper.class V*p[6{U0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class n ay\)  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 HsCL%$k  
RHF"$6EAFG  
struts.multipart.maxSize uJ% <+I  
      The maximize size of a multipart request (file upload) 7>Scf  
      multipart请求信息的最大尺寸(文件上传用) W{6QvQD8  
!dqC6a  
struts.multipart.parser Kr}RFJ"d  
      The org.apache.struts2.dispatcher.multipart. BIx*t9wA  
      MultiPartRequest parser implementation for a multipart request (file upload) t>bzo6cj  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Za|7gt];l  
q*hn5K*  
m06'T2I  
struts.multipart.saveDir VI! \+A  
      The directory to use for storing uploaded files V._-iw]v  
      设置存储上传文件的目录夹 9 [eiN  
$@AJg  
struts.objectFactory GkAd"<B  
      The com.opensymphony.xwork2.ObjectFactory implementation class -X.#Y6(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 14,)JZN  
UTA|Ps$  
struts.objectFactory.spring.autoWire k[Em~>m  
      Whether Spring should autoWire or not H=/1d.p  
      是否自动绑定Spring ]iV ]7g8:  
< 5zR-UA>  
struts.objectFactory.spring.useClassCache oC&}lp)q  
      Whether Spring should use its class cache or not omfX2Oa2  
      是否spring应该使用自身的cache N*IroT3  
 ti5fsc  
struts.objectTypeDeterminer aBA oSn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %'2P4(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8F sQLeOE  
t[|oSF#i  
struts.serve.static.browserCache NLsF6BX/-  
If static content served by the Struts filter should set browser caching header properties or not UF9={fN1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M\1CDU+*Ns  
g\aO::  
struts.serve.static +ai3   
      Whether the Struts filter should serve static content or not $(1t~u<17  
      是否struts过滤器应该提供静态内容 {v"f){   
mR0`wrt  
struts.tag.altSyntax !?,, ZD  
      Whether to use the alterative syntax for the tags or not 7K"3[.  
      是否可以用替代的语法替代tags z teu{0  
Kw fd S(  
struts.ui.templateDir <J8c dB!e  
      The directory containing UI templates ?eJ'$  
      UI templates的目录夹 ,EQ0""G!  
#$WnMJ@  
struts.ui.theme u(9pRr L  
      The default UI template theme v`h>5#_[  
      默认的UI template主题 d?oXz|;H(  
(B#FLoK  
struts.url.http.port m(f`=+lqI`  
      The HTTP port used by Struts URLs dle\}Sy=  
      设置http端口 gwaSgV$z  
]OpGD5jZ  
struts.url.https.port KloX.y)q  
      The HTTPS port used by Struts URLs xW"O|x$6  
      设置https端口 49 FP&NgK  
XDK Me}  
struts.url.includeParams _`2%)#^ o  
      The default includeParams method to generate Struts URLs :!i=g+e]  
      在url中产生 默认的includeParams cS.@02~f"  
5<Kt"5Z%7  
B)q}]Qn  
struts.velocity.configfile 2a@X-Di  
      The Velocity configuration file path iwnGWGcuS  
      velocity配置文件路径 I Fw7?G,  
C|y^{4 |R  
struts.velocity.contexts ~ <1s[Hu  
      List of Velocity context names 'iMzp]V;  
      velocity的context列表 '6D"QDZB  
c&;" Y{  
MR "f)  
struts.velocity.manager.classname l0&Fm:))k  
      org.apache.struts2.views.velocity.VelocityManager implementation class qO@vXuul,  
      org.apache.struts2.views.velocity.VelocityManager接口名 Uz;^R@  
imOIO[<;  
struts.velocity.toolboxlocation /  Xnq0hN  
      The location of the Velocity toolbox l>*X+TpA,  
      velocity工具盒的位置 $HwF:L)*  
struts.xslt.nocache ]ZLF=  
      Whether or not XSLT templates should not be cached O72g'qFPE  
      是否XSLT模版应该被缓存 5Sl"1HL  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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