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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @pH2"k| @  
TQR5V\{&%  
struts.action.extension (\:Rnl  
      The URL extension to use to determine if the request is meant for a Struts action 4Kj.o  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 c=sV"r?  
*Y>w0k  
struts.configuration QK_5gD`$a,  
      The org.apache.struts2.config.Configuration implementation class VEps|d3,,  
        org.apache.struts2.config.Configuration接口名 |\(uO|)ju  
a`wjZ"}'[  
struts.configuration.files 3kxo1eb  
      A list of configuration files automatically loaded by Struts Sca"LaW1  
      struts自动加载的一个配置文件列表 7Kw'Y8  
4[lFur H  
struts.configuration.xml.reload !2t7s96  
      Whether to reload the XML configuration or not CCTU-Xz/  
      是否加载xml配置(true,false) +\=g&G,  
1l-5H7^w2?  
struts.continuations.package -Y_, .'ex  
      The package containing actions that use Rife continuations S,5ok0R  
      含有actions的完整连续的package名称 t$BjJ -G  
x?AG*' h&  
struts.custom.i18n.resources yY VR]HH  
      Location of additional localization properties files to load p]aEC+q  
      加载附加的国际化属性文件(不包含.properties后缀) J3yK^@&&  
f:-)S8OJ  
struts.custom.properties sH6;__e  
      Location of additional configuration properties files to load (.-4Jn  
      加载附加的配置文件的位置 -XYvjW,|  
D07M!U  
z:Am1B  
struts.devMode l>6tEOXt  
      Whether Struts is in development mode or not #*h\U]=VS  
      是否为struts开发模式 Vb,V N?l  
%a/3*vz/I%  
struts.dispatcher.parametersWorkaround TgkVd]4%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic joY7Vk!<o  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k9k39`t  
\HGf!zZ  
struts.enable.DynamicMethodInvocation t}+/GSwT  
      Allows one to disable dynamic method invocation from the URL TpU\IQ  
        允许动态方法调用 tF;0P\i  
&nEL}GM)E  
struts.freemarker.manager.classname |k.'w<6mb9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e:O,$R#g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 e)sR$]i:v  
b 3x|Dq.  
struts.i18n.encoding oSCaP,P  
      The encoding to use for localization messages )oIh?-WL  
      国际化信息内码 =MNp;  
yGR{-YwU!  
struts.i18n.reload *OLqr/ yb  
      Whether the localization messages should automatically be reloaded 1Q@]b_"Xh  
      是否国际化信息自动加载 FGDVBUY@  
aAjl 58  
struts.locale .`Rt   
      The default locale for the Struts application `Gio 2gl9  
      默认的国际化地区信息 D4VDWv  
y_m+&Oe  
struts.mapper.class HzTmNm)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,AnD%#o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6b|<$Je9  
K6DN>0sY  
struts.multipart.maxSize 5Zq hyv=  
      The maximize size of a multipart request (file upload) %]+R>+  
      multipart请求信息的最大尺寸(文件上传用) "3RFy i  
fZiAl7b!  
struts.multipart.parser VWft/2p~  
      The org.apache.struts2.dispatcher.multipart. 5/"$ _7"{a  
      MultiPartRequest parser implementation for a multipart request (file upload) (p>|e\(]0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }n^Rcz6HeO  
TIGtX]`  
*(9Tl]w  
struts.multipart.saveDir GLsa]}m,9  
      The directory to use for storing uploaded files 3E*|^*  
      设置存储上传文件的目录夹 NY7yk3  
? i _ACKpw  
struts.objectFactory sF{~7IB  
      The com.opensymphony.xwork2.ObjectFactory implementation class A3eCI  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yd;e;Bb7*  
k%6CkC w  
struts.objectFactory.spring.autoWire :a}](Wn  
      Whether Spring should autoWire or not TUfj\d,  
      是否自动绑定Spring v0DDim?cc  
l*l*5hA  
struts.objectFactory.spring.useClassCache _=mzZe[  
      Whether Spring should use its class cache or not '|[!I!WB`  
      是否spring应该使用自身的cache a{`hAI${  
~HmH#"VP  
struts.objectTypeDeterminer h%/BZC^L]|  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *2h%dT:,%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 G4(R/<J,BQ  
?Bf>G]zx  
struts.serve.static.browserCache &J 3QO%  
If static content served by the Struts filter should set browser caching header properties or not 3RaduN]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 AR [m+E  
u`'" =Y_E  
struts.serve.static hU$a Z  
      Whether the Struts filter should serve static content or not [lzd'  
      是否struts过滤器应该提供静态内容 jrp>Y:  
t]HY@@0g  
struts.tag.altSyntax ]$/oSa/  
      Whether to use the alterative syntax for the tags or not Mq\=pxC@  
      是否可以用替代的语法替代tags hhU_kI  
+p%3pnj:K  
struts.ui.templateDir syw1Z*WK  
      The directory containing UI templates ^L%_kL_7  
      UI templates的目录夹 t\,Y<9{w  
n{gEIUo#  
struts.ui.theme q%sZV>  
      The default UI template theme -`faXFW'  
      默认的UI template主题 9L>?N:%5  
mi=mwN%UB  
struts.url.http.port NzT &K7v  
      The HTTP port used by Struts URLs 9tHK_),9  
      设置http端口 ^`cv6;)  
~$y"Ldrp  
struts.url.https.port AQ)gj$ m3  
      The HTTPS port used by Struts URLs ^.A*mMQ  
      设置https端口 `\( ?^]WLa  
Ksx-Y"  
struts.url.includeParams q;68tEupR  
      The default includeParams method to generate Struts URLs B<d=;V  
      在url中产生 默认的includeParams LhL |ETrJ  
owIpn=8|Q  
_V"0g=&Hc  
struts.velocity.configfile <&\ng^Z$  
      The Velocity configuration file path 0q5J)l:  
      velocity配置文件路径 T<n`i~~  
]^ R':YE  
struts.velocity.contexts uU^DYgs  
      List of Velocity context names y-hTTd"{  
      velocity的context列表 >M#@vIo?<6  
iM!2m$'s  
&qbEF3p^@  
struts.velocity.manager.classname :SaZhY  
      org.apache.struts2.views.velocity.VelocityManager implementation class f\2IKpF2  
      org.apache.struts2.views.velocity.VelocityManager接口名 4kL6aSqT  
'ma X  
struts.velocity.toolboxlocation %RD\Sb4YV  
      The location of the Velocity toolbox BHr,jC  
      velocity工具盒的位置 \WiCI:  
struts.xslt.nocache %M96 m   
      Whether or not XSLT templates should not be cached -m^- p  
      是否XSLT模版应该被缓存 pB:XNkxL  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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