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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  mHdA2  
` Mjj@[  
struts.action.extension v_+{'F  
      The URL extension to use to determine if the request is meant for a Struts action @E7DyU|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z'`<5A%;  
M?Y;a5{  
struts.configuration ,8U &?8l  
      The org.apache.struts2.config.Configuration implementation class snE8 K}4  
        org.apache.struts2.config.Configuration接口名 [=6]+V83M  
x<tb  
struts.configuration.files )~)J?l3 {  
      A list of configuration files automatically loaded by Struts *2p t%eav  
      struts自动加载的一个配置文件列表 Gp?a(-K5  
X( \ AB  
struts.configuration.xml.reload o=1Uh,S3R  
      Whether to reload the XML configuration or not B+P(M!m3  
      是否加载xml配置(true,false) 4gI/!,J(b  
jS]ru-5.  
struts.continuations.package +%yfcyZ.  
      The package containing actions that use Rife continuations x kx^%3dV  
      含有actions的完整连续的package名称 81? hY4  
nLbFg0?+t  
struts.custom.i18n.resources h \fjBDU^  
      Location of additional localization properties files to load ^ Edfv5  
      加载附加的国际化属性文件(不包含.properties后缀) X5zDpi|Dq  
I8hz(2jI  
struts.custom.properties Aza /6OL  
      Location of additional configuration properties files to load ak$f"py x  
      加载附加的配置文件的位置 6tgt>\y  
-`*a'p-=  
:%t U'w  
struts.devMode ?pW`cFLDHF  
      Whether Struts is in development mode or not 6iVxc|Ia  
      是否为struts开发模式 6M @[B|Q(  
Ra)3+M!x  
struts.dispatcher.parametersWorkaround Y2N>HK0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q 3hKk$Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) '}ptj@,  
\=VtHu92=  
struts.enable.DynamicMethodInvocation ;w{tv($$  
      Allows one to disable dynamic method invocation from the URL T"{>t  
        允许动态方法调用 S'Q@ScJ  
#++lg{  
struts.freemarker.manager.classname &FMc?wq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class QO<jI#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ` 06;   
132{# tG]  
struts.i18n.encoding }|0^EWL  
      The encoding to use for localization messages ZQ4p(6a   
      国际化信息内码 %aG5F}S2~  
v|XTr,#  
struts.i18n.reload ]l_\71  
      Whether the localization messages should automatically be reloaded %". HaI]  
      是否国际化信息自动加载 }NHaCG[,  
5;tD"/nz  
struts.locale mitHT :%r2  
      The default locale for the Struts application 8g@<d ^8@  
      默认的国际化地区信息 <GS^  
|s7s6k)mm  
struts.mapper.class t6bV?nc  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class LM:vsG  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 BRw .]&/  
y`<*U;xL  
struts.multipart.maxSize gh/EU/~d  
      The maximize size of a multipart request (file upload) a@_4PWzF:  
      multipart请求信息的最大尺寸(文件上传用) ~8'sBT  
"0"nw 2g?  
struts.multipart.parser [<Mx2<8f  
      The org.apache.struts2.dispatcher.multipart. 2%DSUv:H%  
      MultiPartRequest parser implementation for a multipart request (file upload) ($q-_m  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "Gsc;X'id  
Go5J%&E9  
TH%Qhv\]  
struts.multipart.saveDir 0IsPIi"7  
      The directory to use for storing uploaded files .?8;qA  
      设置存储上传文件的目录夹 H4WP~(__  
Q:2>}QgX}  
struts.objectFactory !a{^=#qq&I  
      The com.opensymphony.xwork2.ObjectFactory implementation class LC,F <>w1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) b o6d)Q  
k :(SCHf  
struts.objectFactory.spring.autoWire ISYXH9V  
      Whether Spring should autoWire or not k|e7a2Wwt  
      是否自动绑定Spring EaO6[E  
[>jbhV'  
struts.objectFactory.spring.useClassCache pR*VdC _mY  
      Whether Spring should use its class cache or not jZu[n)u'C  
      是否spring应该使用自身的cache {3|t;ZHk  
<wk!hTm W  
struts.objectTypeDeterminer qmkAg }2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class HZ aV7dOZ8  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1T"`v tR  
:i0uPh\0  
struts.serve.static.browserCache $njUXSQ;  
If static content served by the Struts filter should set browser caching header properties or not S3q&rqarC%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 XQY#716)  
8r*E-akuyr  
struts.serve.static W>${zVu  
      Whether the Struts filter should serve static content or not %^?fMeI|Y  
      是否struts过滤器应该提供静态内容 Y@;CF  
|UkR'Ma  
struts.tag.altSyntax Gt\lFQ  
      Whether to use the alterative syntax for the tags or not a!zz6/q[  
      是否可以用替代的语法替代tags D#_3^Kiawj  
.<->C?#  
struts.ui.templateDir 4X!/hI=jq  
      The directory containing UI templates 2Z+Wu3#  
      UI templates的目录夹 xs{3pkTYD  
]N~2 .h  
struts.ui.theme =mO vs  
      The default UI template theme $h+1u$po  
      默认的UI template主题 .T}Wdn g  
QVv#fy1"6  
struts.url.http.port Q 1U\D  
      The HTTP port used by Struts URLs h=W:^@G  
      设置http端口 1vS#K=sb  
Ow+GS{-q  
struts.url.https.port ] ]u s %  
      The HTTPS port used by Struts URLs ;@mS^ik")$  
      设置https端口 Cz9xZA{[M  
,kyJAju>  
struts.url.includeParams $jjfC  
      The default includeParams method to generate Struts URLs p\Q5,eg  
      在url中产生 默认的includeParams W/=.@JjI  
G4Q[Th  
&agWaf1%a  
struts.velocity.configfile ` )/vq-9  
      The Velocity configuration file path pd:WEI ,  
      velocity配置文件路径 ncZ+gzK|"  
3OrczJ=[UF  
struts.velocity.contexts F8nYV  
      List of Velocity context names >"??!|XG^  
      velocity的context列表 e6`Jbu+J<f  
jte.Xy~g  
0.\/\V:H6  
struts.velocity.manager.classname 1jx:;j  
      org.apache.struts2.views.velocity.VelocityManager implementation class cutuDZ  
      org.apache.struts2.views.velocity.VelocityManager接口名 Q$a{\*[:+  
+! ]zA4x  
struts.velocity.toolboxlocation DEBB()6,  
      The location of the Velocity toolbox 2bv=N4ly  
      velocity工具盒的位置 x!?u^  
struts.xslt.nocache f&=AA@jLv  
      Whether or not XSLT templates should not be cached XPavReGf  
      是否XSLT模版应该被缓存 +vw\y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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