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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 cOb ,Md  
VZCCMh-  
struts.action.extension K yDPD'  
      The URL extension to use to determine if the request is meant for a Struts action \KkAU6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \><v1x>;  
#jT=;G7f2  
struts.configuration gbjql+Mx+  
      The org.apache.struts2.config.Configuration implementation class pXl *`[0X#  
        org.apache.struts2.config.Configuration接口名 LHHDD\X   
/<)kI(gf  
struts.configuration.files Mo0pN\A}h  
      A list of configuration files automatically loaded by Struts ` l}+BI`4  
      struts自动加载的一个配置文件列表 BB3wG*q  
<iN xtD0  
struts.configuration.xml.reload \) vI-  
      Whether to reload the XML configuration or not ;)'  
      是否加载xml配置(true,false) }J(o!2.  
~s -"u *>  
struts.continuations.package IpKpj"eoLy  
      The package containing actions that use Rife continuations Oi,:q&  
      含有actions的完整连续的package名称 +|6 u 0&R^  
xL\R-H^c]  
struts.custom.i18n.resources OG{vap)  
      Location of additional localization properties files to load D0 ,t,,L  
      加载附加的国际化属性文件(不包含.properties后缀) 2F|06E'  
}D*5PV%d  
struts.custom.properties ,xuA%CF-S  
      Location of additional configuration properties files to load %-#rzeaW  
      加载附加的配置文件的位置 f]DO2 r  
$uCY\ xqZ  
ZGC*BP/  
struts.devMode >NAg*1  
      Whether Struts is in development mode or not /4Jm]"  
      是否为struts开发模式 f~v@;/HL  
nW!pOTJq21  
struts.dispatcher.parametersWorkaround &ngG_y8}&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (VB-5&b  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) NG\^>.8  
">!<OB  
struts.enable.DynamicMethodInvocation 4=7h1qex  
      Allows one to disable dynamic method invocation from the URL F9 2et<y.  
        允许动态方法调用 4NRG{FZ9  
F8>J(7On  
struts.freemarker.manager.classname w0Y V87  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 31`Eq*Y)4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 lWWy|r'il  
fSw6nEXn  
struts.i18n.encoding B'~CFj0W%=  
      The encoding to use for localization messages "t:9jU  
      国际化信息内码 Ob m%\h  
A v[|G4n  
struts.i18n.reload WzdE XcY  
      Whether the localization messages should automatically be reloaded |QxT"`rT  
      是否国际化信息自动加载 3FE=?Q  
XWYLa8Ef  
struts.locale _l$X![@6=  
      The default locale for the Struts application $\vTiS'  
      默认的国际化地区信息 ^eY% T5K   
;/)u/[KAv  
struts.mapper.class ))eQZ3ap9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :JfT&YYi"  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Nk@ag)  
_p,1m[&M  
struts.multipart.maxSize Oj0,Urs7  
      The maximize size of a multipart request (file upload) m1,yf*U  
      multipart请求信息的最大尺寸(文件上传用) y5$AAas  
  ]n (:X  
struts.multipart.parser $}z%}v  
      The org.apache.struts2.dispatcher.multipart. RAi]9`*7  
      MultiPartRequest parser implementation for a multipart request (file upload) w5R?9"d@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bZd)4  
z<z\)  
kbKGGn4u  
struts.multipart.saveDir X}R Q&k  
      The directory to use for storing uploaded files {+^qm8n  
      设置存储上传文件的目录夹 m5KAKpCR,  
OYayTKxN  
struts.objectFactory iK=SK3)vR  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;vLg4k  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4j VFzO%.  
PYJ8\XZ1_N  
struts.objectFactory.spring.autoWire 5`O af\S  
      Whether Spring should autoWire or not v]e6CZwo  
      是否自动绑定Spring >TB Rp,;r  
m8C scC Z}  
struts.objectFactory.spring.useClassCache Mi2l BEu,  
      Whether Spring should use its class cache or not uZkh.0yB  
      是否spring应该使用自身的cache _MST8  
p!RyxB1.|  
struts.objectTypeDeterminer $hE,BeQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4}MZB*);0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 NI33lp$V  
VVVw\|JB>  
struts.serve.static.browserCache P DtLJt$  
If static content served by the Struts filter should set browser caching header properties or not J'4V_Kjg-  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e!.r- v9  
fd/?x^Z  
struts.serve.static J~(M%] &k^  
      Whether the Struts filter should serve static content or not -wUw)gJbM  
      是否struts过滤器应该提供静态内容 o.M.zkP a  
]] Jg%}o  
struts.tag.altSyntax _{f7e^;  
      Whether to use the alterative syntax for the tags or not GK\`8xWE  
      是否可以用替代的语法替代tags J6W"t  
+VdC g_  
struts.ui.templateDir %MUh_63bB  
      The directory containing UI templates EhK5<v}  
      UI templates的目录夹 XX;MoE~MM  
(Aw!K`0Y1  
struts.ui.theme Q~S3d  
      The default UI template theme {Bm7'%i  
      默认的UI template主题 6$_//  
A.>TD=Nz  
struts.url.http.port 6O# xV:Uc<  
      The HTTP port used by Struts URLs qGH\3g-  
      设置http端口 )7TuV"  
\o2cztl=  
struts.url.https.port G@I/Dy  
      The HTTPS port used by Struts URLs  :bBMy\(u  
      设置https端口 KQv97#n1  
Ub9p&=]h  
struts.url.includeParams `zBQ:_3J_  
      The default includeParams method to generate Struts URLs BkcA_a:W  
      在url中产生 默认的includeParams |*[#Iii'  
ds|L'7  
P K9BowlW  
struts.velocity.configfile Ki{]5Rz  
      The Velocity configuration file path 'H.,S_v1x  
      velocity配置文件路径 PS3%V_2  
?84B0K2N s  
struts.velocity.contexts $TR#-q  
      List of Velocity context names fx `oe  
      velocity的context列表 B jsF5~+\  
jpI=B  
jZLD^@AP  
struts.velocity.manager.classname 1Z| {3W  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9m:G8j'  
      org.apache.struts2.views.velocity.VelocityManager接口名 t!JD]j>q  
(TQhO$,  
struts.velocity.toolboxlocation C#Y_La  
      The location of the Velocity toolbox ]v6s](CE  
      velocity工具盒的位置 [H&Z / .{F  
struts.xslt.nocache ];VJ54  
      Whether or not XSLT templates should not be cached u{dI[?@  
      是否XSLT模版应该被缓存 3El5g0'G  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八