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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f<9H#S:  
w;0NtV|  
struts.action.extension |!8[Vg^Wh  
      The URL extension to use to determine if the request is meant for a Struts action ncb?iJ/b^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @!'Pr$`  
5Ft bZ1L  
struts.configuration IGEf*!  
      The org.apache.struts2.config.Configuration implementation class yeKzI~  
        org.apache.struts2.config.Configuration接口名 8NudY3cU!  
H:#b(&qw2  
struts.configuration.files LT!B]y  
      A list of configuration files automatically loaded by Struts YoGnk^$  
      struts自动加载的一个配置文件列表 {,*G }/9<  
n%I%Kbw  
struts.configuration.xml.reload go m< V?$  
      Whether to reload the XML configuration or not *6e`km  
      是否加载xml配置(true,false) E:4`x_~qQ  
B @HW@j  
struts.continuations.package QOlm#S  
      The package containing actions that use Rife continuations Wd_bDZQ  
      含有actions的完整连续的package名称 Vky~yTL)\  
{#: js  
struts.custom.i18n.resources a-4'jT:  
      Location of additional localization properties files to load Q7&Yy25   
      加载附加的国际化属性文件(不包含.properties后缀) {CR~G2Z  
+Q If7=  
struts.custom.properties cn v4!c0  
      Location of additional configuration properties files to load cE/7B'cR  
      加载附加的配置文件的位置 b(_PCVC  
ct3QtX0B  
xYc)iH6&  
struts.devMode oR5hMu;j+  
      Whether Struts is in development mode or not ]NNLr;p  
      是否为struts开发模式 i?z3!`m  
Y]{<IF:  
struts.dispatcher.parametersWorkaround =2s 5>Oz+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gq*- v:P>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m}T^rX%m_  
hc5M)0d  
struts.enable.DynamicMethodInvocation Oq(_I b)9  
      Allows one to disable dynamic method invocation from the URL yX,2`&c  
        允许动态方法调用 RU,f|hB 4  
?t'ZX~k  
struts.freemarker.manager.classname WiH%URFB  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Nb>|9nu O  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 LU_@8i:  
~cz] Rhq  
struts.i18n.encoding i5?)E7-  
      The encoding to use for localization messages fa=#S  
      国际化信息内码 5`{+y]  
/u<lh. hPW  
struts.i18n.reload U u(ysN4`  
      Whether the localization messages should automatically be reloaded |A8Ar7)  
      是否国际化信息自动加载 g^NdN46%  
a_^3:}i~D  
struts.locale DifRpj I-0  
      The default locale for the Struts application #] vq <Y  
      默认的国际化地区信息 IPbdX@FeV  
l,1}1{k&  
struts.mapper.class 1.o-2:]E  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?g}n$%*5y!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >@[`,  
 @es}bKP  
struts.multipart.maxSize i)1E[jc{p!  
      The maximize size of a multipart request (file upload) yUq,9.6Ig  
      multipart请求信息的最大尺寸(文件上传用) Hig=PG5I  
?Mp~^sgp'  
struts.multipart.parser !aeL*`;  
      The org.apache.struts2.dispatcher.multipart. LbJ tU !  
      MultiPartRequest parser implementation for a multipart request (file upload) &jl'1mZ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Bg-C:Ok 2'  
$ N5VoK  
"z69jxXo  
struts.multipart.saveDir i 6kW"5t  
      The directory to use for storing uploaded files FZ #ngrT  
      设置存储上传文件的目录夹 +o?.<[>!GR  
U_ V0  
struts.objectFactory >f^&^28  
      The com.opensymphony.xwork2.ObjectFactory implementation class <.HHV91  
      com.opensymphony.xwork2.ObjectFactory接口(spring) H.7gSB1  
WnLgpt2G  
struts.objectFactory.spring.autoWire jm =E_86_  
      Whether Spring should autoWire or not z<+".sD'  
      是否自动绑定Spring S&6}9r  
@@*->  
struts.objectFactory.spring.useClassCache DvG.G+mo#  
      Whether Spring should use its class cache or not '<!/\Jz9l  
      是否spring应该使用自身的cache H#E   
+AZ=nMgW  
struts.objectTypeDeterminer ;} gvBI2e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Qf414 oW  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lT@5=ou[  
k)[}3oq  
struts.serve.static.browserCache 8!TbJVR  
If static content served by the Struts filter should set browser caching header properties or not UX41/# 4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8q)2 )p  
hEl)BRJ  
struts.serve.static vPi\ v U{  
      Whether the Struts filter should serve static content or not XU2 HWa  
      是否struts过滤器应该提供静态内容 ~r]ZD)  
L-Xd3RCD  
struts.tag.altSyntax b]g}h  
      Whether to use the alterative syntax for the tags or not Y">Q16(  
      是否可以用替代的语法替代tags XEfTAW#7  
Y5-X)f  
struts.ui.templateDir ]gI XG`  
      The directory containing UI templates <s9Sx>Zb  
      UI templates的目录夹 6aM`qz)  
<z#r3J  
struts.ui.theme D?}LKs[  
      The default UI template theme To]WCFp6@  
      默认的UI template主题 jS5e"LMIq  
|QAmN> 7U  
struts.url.http.port E-X-LR{CC  
      The HTTP port used by Struts URLs %p/Qz|W  
      设置http端口 x4*8q/G=D  
5`^"<wNI  
struts.url.https.port b=F"  
      The HTTPS port used by Struts URLs m]Z+u e  
      设置https端口 YCh!D dy  
U^VFHIm  
struts.url.includeParams J0@m Ol  
      The default includeParams method to generate Struts URLs OA%.>^yb@  
      在url中产生 默认的includeParams U(3LeS;mr  
5f/[HO)  
qlPjz*<h"H  
struts.velocity.configfile I}n"6'*  
      The Velocity configuration file path [mw#a9  
      velocity配置文件路径 q<oA%yR  
j[iJo 5  
struts.velocity.contexts K._1sOw'"Y  
      List of Velocity context names m;K Mr6sO  
      velocity的context列表 SK;f#quUQ  
x[WT)  
|8`}yRsQ  
struts.velocity.manager.classname Z'S>i*Ts  
      org.apache.struts2.views.velocity.VelocityManager implementation class - CM;sXq  
      org.apache.struts2.views.velocity.VelocityManager接口名 }9Y='+.%^  
Sl:\5]'yJ  
struts.velocity.toolboxlocation 6XFO@c}d  
      The location of the Velocity toolbox MMhd-B1O&  
      velocity工具盒的位置 1?7QS\`)fB  
struts.xslt.nocache YX^{lD1Jj  
      Whether or not XSLT templates should not be cached _qE2r^o"B  
      是否XSLT模版应该被缓存 :".!6~:2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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