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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )]%9Tgn  
ommKf[h%i  
struts.action.extension *QG3Jz  
      The URL extension to use to determine if the request is meant for a Struts action YMi(Cyja&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }]~}DHYr  
NqZRS>60v  
struts.configuration $&C(oh$:  
      The org.apache.struts2.config.Configuration implementation class  q%k+x)  
        org.apache.struts2.config.Configuration接口名 )a^Yor)o"  
uTU4Fn\$L  
struts.configuration.files @*DIB+K  
      A list of configuration files automatically loaded by Struts h3kHI?jMWG  
      struts自动加载的一个配置文件列表  (v`;ym  
#8z,'~\  
struts.configuration.xml.reload . ?p}:  
      Whether to reload the XML configuration or not 2 &Byq  
      是否加载xml配置(true,false) R2$U K  
,OKM\N ,  
struts.continuations.package yo*iv+l  
      The package containing actions that use Rife continuations /,Rca1W  
      含有actions的完整连续的package名称 }K>H S\e  
~t:b<'/  
struts.custom.i18n.resources Qsntf.fT  
      Location of additional localization properties files to load P*PL6UQ  
      加载附加的国际化属性文件(不包含.properties后缀) 99!{[gOv  
3] qlz?5  
struts.custom.properties O&,O:b:@  
      Location of additional configuration properties files to load B\ _u${C  
      加载附加的配置文件的位置 ~& 5&s  
7rSUSra  
(oXN>^-D  
struts.devMode VWshFI  
      Whether Struts is in development mode or not ;1.>"zX(  
      是否为struts开发模式 mbBRuPEa=u  
R1.sq(z`  
struts.dispatcher.parametersWorkaround &#@>(u: .  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5b#6 Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) * |HZ&}  
 j/9QV  
struts.enable.DynamicMethodInvocation KupMndK  
      Allows one to disable dynamic method invocation from the URL p{a]pG+3  
        允许动态方法调用 Ys$YI{  
v1C.\fL  
struts.freemarker.manager.classname n r>{ uTa  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @LKG\zYBu  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _g 4 /%  
 <8)s  
struts.i18n.encoding F36ViN\b  
      The encoding to use for localization messages yb{Q,Dz  
      国际化信息内码 I/Jp,~JT*  
[S]!+YBK  
struts.i18n.reload d=Do@) m|  
      Whether the localization messages should automatically be reloaded cIr1"5POXK  
      是否国际化信息自动加载 c,q"}nE8w  
0sd-s~;  
struts.locale F4rKFMr  
      The default locale for the Struts application sdf%  
      默认的国际化地区信息 p%"yBpSK  
^v!im\ r  
struts.mapper.class DvX3/z#T  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Iv(Qa6(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )E:,V~< 8  
Iz )hz9k  
struts.multipart.maxSize P/pjy  
      The maximize size of a multipart request (file upload) QP%kL*=8  
      multipart请求信息的最大尺寸(文件上传用) 6!B^xm.R@  
"PyWo  
struts.multipart.parser @%<?GNSO  
      The org.apache.struts2.dispatcher.multipart. yvz?4m"_yB  
      MultiPartRequest parser implementation for a multipart request (file upload) u5Ny=Xm  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5w3ZUmjO  
`<J#l;y  
v (ka,Dk3  
struts.multipart.saveDir irsfJUr[V  
      The directory to use for storing uploaded files 3%R{"Q"  
      设置存储上传文件的目录夹 +%wWSZ<#  
lKEX"KQ!  
struts.objectFactory  Wu!t C  
      The com.opensymphony.xwork2.ObjectFactory implementation class s^>lOQ=  
      com.opensymphony.xwork2.ObjectFactory接口(spring) N\q)LM !M  
L"foL  
struts.objectFactory.spring.autoWire ole|J  
      Whether Spring should autoWire or not <'[Ku;m  
      是否自动绑定Spring S9p?*  
h `ME(U~<<  
struts.objectFactory.spring.useClassCache BMNr<P2li  
      Whether Spring should use its class cache or not 9&%#nN4`8  
      是否spring应该使用自身的cache n}A?jOSAe  
xHB/]Vd-  
struts.objectTypeDeterminer GVG!sM mnX  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8PBU~mr  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r!$'!lCR  
nG"n-$A?<  
struts.serve.static.browserCache !&`}]qQZ  
If static content served by the Struts filter should set browser caching header properties or not f<89$/w  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^Cg^ `n?@b  
f]8!DXEA  
struts.serve.static ejklpa ./  
      Whether the Struts filter should serve static content or not $(gGoL<  
      是否struts过滤器应该提供静态内容 uuSR%KK]|  
1OJ*wI*  
struts.tag.altSyntax |mxNUo-  
      Whether to use the alterative syntax for the tags or not 3Q"F(uE v^  
      是否可以用替代的语法替代tags .G}k/`a  
R zS|dGNQE  
struts.ui.templateDir bar0{!Y"  
      The directory containing UI templates 5g``30:o  
      UI templates的目录夹 7qg<[  
[5Fd P0  
struts.ui.theme i3Hz"Qs;  
      The default UI template theme Sty! atEWT  
      默认的UI template主题 jJ a V  
*bA+]&dj\  
struts.url.http.port u#+RUtM  
      The HTTP port used by Struts URLs gg-};0P-  
      设置http端口 ?MC(}dF0  
h2wN<dJCM  
struts.url.https.port JI"/N`-?;b  
      The HTTPS port used by Struts URLs ^/>Wr'w   
      设置https端口 $Z;BQJVH  
53 @oP  
struts.url.includeParams (*,8KLV_i  
      The default includeParams method to generate Struts URLs 7DtIVMiK  
      在url中产生 默认的includeParams <%z@  
1E8H%2$ V  
u7;`4P:o@  
struts.velocity.configfile 99e*]')A%  
      The Velocity configuration file path XFW5AP  
      velocity配置文件路径 HU &)  
HG2GZ}~^1  
struts.velocity.contexts [yw%ih)  
      List of Velocity context names i&`!|X-=R  
      velocity的context列表 fVe@YqNa  
I%@e@Dm,h  
Y4#y34 We  
struts.velocity.manager.classname &<au/^F  
      org.apache.struts2.views.velocity.VelocityManager implementation class -bypuMQ-p  
      org.apache.struts2.views.velocity.VelocityManager接口名 QDS0ejhp  
gnt45]@{  
struts.velocity.toolboxlocation (I4y[jnD  
      The location of the Velocity toolbox v f`9*xF  
      velocity工具盒的位置 P##Z[$IJ3  
struts.xslt.nocache &Y1`?1;nw  
      Whether or not XSLT templates should not be cached uBmxh%]C~  
      是否XSLT模版应该被缓存 bV@7mmz:X+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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