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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M7^PWC  
O Ul+es  
struts.action.extension 4j|]=58  
      The URL extension to use to determine if the request is meant for a Struts action xRpL\4cs  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 EgM.wQHR]  
$'btfo4H  
struts.configuration ks< gSCB  
      The org.apache.struts2.config.Configuration implementation class ,LKY?=T$z  
        org.apache.struts2.config.Configuration接口名 A ^ $9[_  
Rcs7 'q5  
struts.configuration.files o[q Kf  
      A list of configuration files automatically loaded by Struts ,uqSq  
      struts自动加载的一个配置文件列表 dFD0l?0N  
nF0$  
struts.configuration.xml.reload wcUf?`21,  
      Whether to reload the XML configuration or not ke_Dd?  
      是否加载xml配置(true,false) |B<+Y<)f^  
oNY;z-QK  
struts.continuations.package mwVH>3{j  
      The package containing actions that use Rife continuations tX$%*Uy  
      含有actions的完整连续的package名称 s`GwRH<#  
:$."x '  
struts.custom.i18n.resources 0M(\xO  
      Location of additional localization properties files to load u:tLO3VfJ  
      加载附加的国际化属性文件(不包含.properties后缀) |0:< Z(  
/*!K4)$-*2  
struts.custom.properties +:pjQ1LsJ  
      Location of additional configuration properties files to load = zW}vm }  
      加载附加的配置文件的位置 gfG Mu0FjB  
]u  4  
Q4\EI=4P]  
struts.devMode Z12-Vps  
      Whether Struts is in development mode or not /{ Lo0  
      是否为struts开发模式 jR`q  y<  
Eh&*"&fHR  
struts.dispatcher.parametersWorkaround 7y.$'<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic RhIRCN9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) | YmQO#''  
wR +C>  
struts.enable.DynamicMethodInvocation W- 5Z"m1I  
      Allows one to disable dynamic method invocation from the URL ,<s'/8Ik  
        允许动态方法调用 ]+\;pb}bq  
1^^<6e  
struts.freemarker.manager.classname  "_t2R &A  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]8FSs/4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )!J0e-T-8O  
oG~a`9N%C  
struts.i18n.encoding oe`t ? (U  
      The encoding to use for localization messages |LA@guN  
      国际化信息内码 k2DT+}u7G  
.si!`?K%[  
struts.i18n.reload p+#$S4V  
      Whether the localization messages should automatically be reloaded > 5-z"f  
      是否国际化信息自动加载 },G6IuH%  
Hh`x>{,|S  
struts.locale 78&(>8@m  
      The default locale for the Struts application 'oSs5lW  
      默认的国际化地区信息 9nF;$ HB  
cnJ(Fv_F$  
struts.mapper.class I?c "\Fe  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `Mx&,;x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 VsEMF i=  
X:Z4QqT  
struts.multipart.maxSize uj#bK 7  
      The maximize size of a multipart request (file upload) yop,%Fe  
      multipart请求信息的最大尺寸(文件上传用) 'Vq_/g!?1  
-DD2   
struts.multipart.parser  JwEQR  
      The org.apache.struts2.dispatcher.multipart. s/#L?[YH  
      MultiPartRequest parser implementation for a multipart request (file upload) MNd8#01q`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A'Q=Do E  
 _0^f  
;s{k32e  
struts.multipart.saveDir 5n,?&+*L  
      The directory to use for storing uploaded files  /6)6  
      设置存储上传文件的目录夹 Sh&n DdF"  
vzDoF0Ts*p  
struts.objectFactory 17IT:T,'  
      The com.opensymphony.xwork2.ObjectFactory implementation class ( -^-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) n?uVq6c  
UC&f  
struts.objectFactory.spring.autoWire e$!01Y$HI  
      Whether Spring should autoWire or not e<F>u#d  
      是否自动绑定Spring ErZYPl  
rBNl%+ sB  
struts.objectFactory.spring.useClassCache c*F'x-TH  
      Whether Spring should use its class cache or not !<`}m E!:  
      是否spring应该使用自身的cache ~J #^L*  
jm~(OLg  
struts.objectTypeDeterminer NlLgXn!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q]PeS~PjF\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;yd[QT<I<  
lM0`yh  
struts.serve.static.browserCache ~:h-m\=8Y  
If static content served by the Struts filter should set browser caching header properties or not C|"BMam  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2@!Ou$W  
T\}?  
struts.serve.static P|M#S9^]  
      Whether the Struts filter should serve static content or not E<=h6Ha  
      是否struts过滤器应该提供静态内容 f( =3'wQ  
Um4$. BKD  
struts.tag.altSyntax o]Ln:kl  
      Whether to use the alterative syntax for the tags or not Fh)`A5#  
      是否可以用替代的语法替代tags 8M9LY9C  
<\0+*`">g  
struts.ui.templateDir H~fX >6>  
      The directory containing UI templates f9`F~6$  
      UI templates的目录夹 R 2.y=P8N  
#~ikR.-+Eq  
struts.ui.theme v-^7oai  
      The default UI template theme ^5BLuN6  
      默认的UI template主题 :i{$p00 G  
M{sn{  
struts.url.http.port I,rs&m?/m  
      The HTTP port used by Struts URLs 4[q'1N6-  
      设置http端口 X9:4oMux7  
;0R|#9oX_  
struts.url.https.port FPg5!O%  
      The HTTPS port used by Struts URLs fDq`.ZW)s  
      设置https端口 pUTC~|j%:  
+A 3Q$1F  
struts.url.includeParams ^ W/,Z`  
      The default includeParams method to generate Struts URLs I\8f`l  
      在url中产生 默认的includeParams y7&8P8R  
u<}PcI.  
F0&BEJBkU  
struts.velocity.configfile Yh^~4S?  
      The Velocity configuration file path f76bEe/B9  
      velocity配置文件路径 6Vq]AQx  
CO+[iJ,4C+  
struts.velocity.contexts {9 PeBc  
      List of Velocity context names OfSy_#aEK  
      velocity的context列表 *{/L7])gm  
J}c`\4gD  
n_8wYiBs(  
struts.velocity.manager.classname Stq [[S5P  
      org.apache.struts2.views.velocity.VelocityManager implementation class OJ2O?Te8  
      org.apache.struts2.views.velocity.VelocityManager接口名 )_7OHV *3  
'Fe1]B"Y  
struts.velocity.toolboxlocation zVSbEcr,C~  
      The location of the Velocity toolbox oH[4<K>  
      velocity工具盒的位置 uU7s4oJ|  
struts.xslt.nocache ao@"j}c  
      Whether or not XSLT templates should not be cached @A-*XJNS":  
      是否XSLT模版应该被缓存 :tc]@0+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八