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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Xx."$l  
;4R$g5-4X  
struts.action.extension wSzv|\ G  
      The URL extension to use to determine if the request is meant for a Struts action Y!~49<;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $+8cc\fq  
Pk{_(ybaY  
struts.configuration =9y[1t  
      The org.apache.struts2.config.Configuration implementation class ?26I,:;  
        org.apache.struts2.config.Configuration接口名 A!s`[2 Z  
jSh5!6O  
struts.configuration.files ddJQC|xR}  
      A list of configuration files automatically loaded by Struts >kj`7GA  
      struts自动加载的一个配置文件列表 l2zFKCGF(  
@Owb?(6?  
struts.configuration.xml.reload cs,N <|  
      Whether to reload the XML configuration or not +%zAQeb  
      是否加载xml配置(true,false) 7 E r23Q  
V+* P2|  
struts.continuations.package q8X feoUV  
      The package containing actions that use Rife continuations ]fx"4qKM  
      含有actions的完整连续的package名称 T*8VDY7  
>BIMi^  
struts.custom.i18n.resources f=(?JT  
      Location of additional localization properties files to load q@QksAq  
      加载附加的国际化属性文件(不包含.properties后缀) Y_;#UU689  
5,3'=mA6  
struts.custom.properties hm84Aq= f  
      Location of additional configuration properties files to load tX9{hC^  
      加载附加的配置文件的位置 1->dMm}G[  
bU>U14ix<  
*g:4e3Iy  
struts.devMode Fsmycr!R  
      Whether Struts is in development mode or not E ]A#Uy  
      是否为struts开发模式 >BR(Wd.  
oX#Q<2z*  
struts.dispatcher.parametersWorkaround `slL %j^"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Yl4^AR&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R0P iv:  
nOt&pq7  
struts.enable.DynamicMethodInvocation zvYq@Mhr  
      Allows one to disable dynamic method invocation from the URL yh Yb'GK  
        允许动态方法调用 s>B5l2Q4  
7L`A{L  
struts.freemarker.manager.classname )IP,;<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class iZ#!O* >  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]{)a,c NG  
aGrIQq/k)%  
struts.i18n.encoding 1t:Q_j0Ym  
      The encoding to use for localization messages [>+4^&  
      国际化信息内码 s`M9    
aXQnZ+2e^R  
struts.i18n.reload d?s<2RkPT  
      Whether the localization messages should automatically be reloaded ~ZmN44?R  
      是否国际化信息自动加载 oz,np@f)J  
Jv>gwV{  
struts.locale j#X.KM   
      The default locale for the Struts application s [M?as  
      默认的国际化地区信息 kW2sY^Rg  
N+m)/x =:  
struts.mapper.class nGpXI\K  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T}Km?d  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X\]L=>]C  
`n#H5Oyn  
struts.multipart.maxSize Pj#<K%Bz  
      The maximize size of a multipart request (file upload) Gy9$wH@8  
      multipart请求信息的最大尺寸(文件上传用) ]mo-rhDsM  
eK6hS_E  
struts.multipart.parser Fz3fwLawI  
      The org.apache.struts2.dispatcher.multipart. =!kk|_0%E  
      MultiPartRequest parser implementation for a multipart request (file upload) D8inB+/-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) KX76UW   
HFKf kAl  
) brVduB  
struts.multipart.saveDir q4R5<LW"  
      The directory to use for storing uploaded files VvvRRP^q  
      设置存储上传文件的目录夹 4H,`]B8(D  
I!^;8Pg  
struts.objectFactory !9u|fnC9  
      The com.opensymphony.xwork2.ObjectFactory implementation class J4QXz[dG  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 931bA&SL=/  
aH 4c02s$  
struts.objectFactory.spring.autoWire E[2m&3&  
      Whether Spring should autoWire or not N^#ZJoR  
      是否自动绑定Spring V^7V[(~`  
bt"W(m&f  
struts.objectFactory.spring.useClassCache Ov};e  
      Whether Spring should use its class cache or not Z,RzN5eN  
      是否spring应该使用自身的cache O ,J>/  
VeGL)  
struts.objectTypeDeterminer aDq5C-MzG  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y[`l3;u:'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _a5d?Q9Z  
pf%=h |  
struts.serve.static.browserCache !g?|9  
If static content served by the Struts filter should set browser caching header properties or not `s"'r !  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _4rFEYz$d  
'[U8}z3  
struts.serve.static {\S+#W\  
      Whether the Struts filter should serve static content or not m`v2: S}  
      是否struts过滤器应该提供静态内容 #Vl 0.l3  
*}]Nf  
struts.tag.altSyntax VLS0XKI)  
      Whether to use the alterative syntax for the tags or not ;Yx)tWQI  
      是否可以用替代的语法替代tags 8}c$XmCM  
?{\nf7Y  
struts.ui.templateDir ^$%S &W  
      The directory containing UI templates Ky|88~}:C9  
      UI templates的目录夹 8I-u2Y$Sr  
`NnUyQ;T  
struts.ui.theme :j5n7s?&=y  
      The default UI template theme TkE 8D n  
      默认的UI template主题 ST2.:v;lb  
@Py/K /  
struts.url.http.port Ager$uC  
      The HTTP port used by Struts URLs E4gYemuN  
      设置http端口 ~Fe${2   
)i~cr2Hk  
struts.url.https.port ~J5+i9T.)  
      The HTTPS port used by Struts URLs 1q~+E\x  
      设置https端口 iocI:b <  
03xa'Of>  
struts.url.includeParams O?NeSx 1  
      The default includeParams method to generate Struts URLs S\''e`Eb"5  
      在url中产生 默认的includeParams 8MK>)P o)  
l\BVS)  
p`mS[bxv!  
struts.velocity.configfile +J_c'ChN  
      The Velocity configuration file path AK&S5F>D+B  
      velocity配置文件路径 &J55P]7w  
R?v>Q` Qi  
struts.velocity.contexts Tu@8}C  
      List of Velocity context names ;lq;X{/  
      velocity的context列表 ,/YF-L$(t  
BS /G("oZ[  
^g*pGrl#  
struts.velocity.manager.classname il}%7b-  
      org.apache.struts2.views.velocity.VelocityManager implementation class I'\kFjc  
      org.apache.struts2.views.velocity.VelocityManager接口名 *7*lE"$p  
y#>,+a#5  
struts.velocity.toolboxlocation nnCG g+l  
      The location of the Velocity toolbox ~1cnE:x;V  
      velocity工具盒的位置 $@sEn4h  
struts.xslt.nocache bsuus R9W  
      Whether or not XSLT templates should not be cached So{x]x:f  
      是否XSLT模版应该被缓存 `k OD[*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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