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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ()fYhk|W  
.4!wp&  
struts.action.extension ioslarw1J  
      The URL extension to use to determine if the request is meant for a Struts action xw*/8.Md6f  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0a+U >S#  
C?rb}(m  
struts.configuration B~3qEdoK5`  
      The org.apache.struts2.config.Configuration implementation class aSeh?2n8  
        org.apache.struts2.config.Configuration接口名 QaOF l` i  
1 y7$"N8Xo  
struts.configuration.files m.U&O=]5  
      A list of configuration files automatically loaded by Struts V^\b"1X7N  
      struts自动加载的一个配置文件列表 rD>q/,X=\  
/b{Ufo3v  
struts.configuration.xml.reload i;67< f}-  
      Whether to reload the XML configuration or not =I$:-[(  
      是否加载xml配置(true,false) G)=+Nt\ *  
^56#{~%^?  
struts.continuations.package ?o d*"M  
      The package containing actions that use Rife continuations 1! R:}r3t  
      含有actions的完整连续的package名称 QjsN7h&%  
%Gjjl*`E  
struts.custom.i18n.resources ks8xxY  
      Location of additional localization properties files to load UmCIjwk  
      加载附加的国际化属性文件(不包含.properties后缀) 7D4I>N'T  
~gEd (  
struts.custom.properties )7F$:*e  
      Location of additional configuration properties files to load PR>%@-Vgj  
      加载附加的配置文件的位置 mTa^At"  
)1&,khd/u  
SU4~x0  
struts.devMode AH ]L C6-  
      Whether Struts is in development mode or not $t>ow~Xi  
      是否为struts开发模式 rzKn5Z  
,oj)`?Vh  
struts.dispatcher.parametersWorkaround =1j`VJU9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jE$]Z(Ab  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) -vS7%Fbr  
2J7JEv|  
struts.enable.DynamicMethodInvocation lW@i,1  
      Allows one to disable dynamic method invocation from the URL zh4m`}p  
        允许动态方法调用 vFGVz  
,) }-mu  
struts.freemarker.manager.classname =!2(7Nr  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 84-7!< 6i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -axmfE?g0  
j,g.Eo  
struts.i18n.encoding E"%G@,|3*  
      The encoding to use for localization messages jhE3@c@pT  
      国际化信息内码 v?4MndR  
+'D #VG  
struts.i18n.reload "\kr;X'  
      Whether the localization messages should automatically be reloaded D?cE$P  
      是否国际化信息自动加载 SG3qNM: g  
EJO6k1  
struts.locale @,TCg1@QJ  
      The default locale for the Struts application btB> -pT  
      默认的国际化地区信息 #]Q.B\\  
K-7i4 ~  
struts.mapper.class =A^VzIj(  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {FM:\/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6H!"oC&  
]m""ga  
struts.multipart.maxSize @33-UP9o  
      The maximize size of a multipart request (file upload) @RS|}M^4  
      multipart请求信息的最大尺寸(文件上传用) CA ,0Fe3  
$g)X,iQu  
struts.multipart.parser qgsKbsl  
      The org.apache.struts2.dispatcher.multipart. a.g:yWL\  
      MultiPartRequest parser implementation for a multipart request (file upload) -\fn\n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }MV=t7x9+  
rxAb]~MMp  
1)h+xY  
struts.multipart.saveDir p"/B3  
      The directory to use for storing uploaded files sm @Ot~;  
      设置存储上传文件的目录夹 n&}ILLc  
#)$@Kvm  
struts.objectFactory qn@:A2e d  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2;=xH t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,46k8%WW  
<o\I C?A  
struts.objectFactory.spring.autoWire 0Bhf(5  
      Whether Spring should autoWire or not Q u@T}Ci  
      是否自动绑定Spring W RVm^  
( cqVCys  
struts.objectFactory.spring.useClassCache "4qv yVOE  
      Whether Spring should use its class cache or not 6}e"$Ee}9  
      是否spring应该使用自身的cache m-!Uy$yM  
)3~):+  
struts.objectTypeDeterminer [?Q$b5j/M  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }KwL_\>&f  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 XqTDLM&  
|0/~7l  
struts.serve.static.browserCache n6 a=(T  
If static content served by the Struts filter should set browser caching header properties or not / L/hR4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /0qLMlL$  
&\GB_UA  
struts.serve.static \LpR7D  
      Whether the Struts filter should serve static content or not Kdwt^8Umh  
      是否struts过滤器应该提供静态内容 '`Iuf\  
7{e*isV  
struts.tag.altSyntax 2Fsv_t&*>  
      Whether to use the alterative syntax for the tags or not 4q\bnt  
      是否可以用替代的语法替代tags l>O~^41[  
Do5)ilt  
struts.ui.templateDir *R6Ed  
      The directory containing UI templates V0x;*)\PYm  
      UI templates的目录夹 rSvQarT  
ri k0F  
struts.ui.theme $Y5m"wySZ  
      The default UI template theme 2bk~6Osp  
      默认的UI template主题 pT`oC&  
6S# e?>"+  
struts.url.http.port `aW>h8$I)  
      The HTTP port used by Struts URLs -(]s!,  
      设置http端口 rt[w yz8  
%^$7z,>;  
struts.url.https.port %0!!998  
      The HTTPS port used by Struts URLs lUd;u*A  
      设置https端口 K`?",G?_  
Q-}yZ  
struts.url.includeParams XNJPf) T  
      The default includeParams method to generate Struts URLs .v{ok,&  
      在url中产生 默认的includeParams P[E5e+ A)  
aqk0+  
ub/9T-#l  
struts.velocity.configfile = j,Hxq  
      The Velocity configuration file path Y[ciT)  
      velocity配置文件路径 D-tm'APq  
r#%z1u  
struts.velocity.contexts Xo:!U=m/#  
      List of Velocity context names vP{22P  
      velocity的context列表 [Q2"OG@Q  
EBX+fzjQo  
>qBQfz:U>  
struts.velocity.manager.classname fGtUr _D  
      org.apache.struts2.views.velocity.VelocityManager implementation class Io81zA  
      org.apache.struts2.views.velocity.VelocityManager接口名 M_wj>NXZ  
$R2iSu{kO  
struts.velocity.toolboxlocation yIL6Sb  
      The location of the Velocity toolbox w+NdEE4H9z  
      velocity工具盒的位置 MM*B.y~TxZ  
struts.xslt.nocache .A. VOf_  
      Whether or not XSLT templates should not be cached As;@T$G  
      是否XSLT模版应该被缓存 5QR=$?K  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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