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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;(fDR8  
h.ojj$f,  
struts.action.extension *fso6j#%  
      The URL extension to use to determine if the request is meant for a Struts action (p'yya{(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -mOSB(#bo  
A9ia[2[  
struts.configuration wGD".CS0  
      The org.apache.struts2.config.Configuration implementation class x'@0]f.  
        org.apache.struts2.config.Configuration接口名 tbF>"?FY/  
bv$_t)Xh  
struts.configuration.files @T  
      A list of configuration files automatically loaded by Struts :2{6Pa(eg  
      struts自动加载的一个配置文件列表 kG/:fP  
ifl`QZp_  
struts.configuration.xml.reload t6BggO"_u  
      Whether to reload the XML configuration or not @*e|{;X]hy  
      是否加载xml配置(true,false) S)of.Nq.;  
3t5`,R1@t  
struts.continuations.package u;p{&\(]  
      The package containing actions that use Rife continuations /UTeaM!?"  
      含有actions的完整连续的package名称 ;3OQgKI  
YwyP+S r\  
struts.custom.i18n.resources ~UX@%0%)N  
      Location of additional localization properties files to load (wU<Kpt?J  
      加载附加的国际化属性文件(不包含.properties后缀) B> *zQb2:  
"<H.F 87Z)  
struts.custom.properties -"[o|aa^  
      Location of additional configuration properties files to load |} ;&xI  
      加载附加的配置文件的位置 X:bv ?o>Y  
~q4KQ&.!  
%bgjJ`  
struts.devMode i,1=5@rw5  
      Whether Struts is in development mode or not 1r;]==  
      是否为struts开发模式 k'E3{8<!  
Mh"DPt9@J  
struts.dispatcher.parametersWorkaround Y m=ihQ|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2jV.\C k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S.1\e"MfI  
[Hw  
struts.enable.DynamicMethodInvocation rXc-V},az8  
      Allows one to disable dynamic method invocation from the URL L|.q19b*  
        允许动态方法调用 A(G%9'T  
b<>GF-`w  
struts.freemarker.manager.classname :kz*.1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _^;+_6&[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 QPB@qx#@  
5[}3j1  
struts.i18n.encoding Osncl5PD)  
      The encoding to use for localization messages s S(t }$  
      国际化信息内码 =(:{>tO_"  
=NLsT.aa  
struts.i18n.reload gcDo o2RE  
      Whether the localization messages should automatically be reloaded ms2y[b  
      是否国际化信息自动加载 L[o;@+32  
m}&cXY  
struts.locale vaN}M)W/  
      The default locale for the Struts application 2(M^8Bl  
      默认的国际化地区信息 S`g:z b_  
1.*VliY  
struts.mapper.class 3<.]+ukm  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (?R;u>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )@+lfIE(l  
q-kMqnQ  
struts.multipart.maxSize Syv[ [Ek  
      The maximize size of a multipart request (file upload) Otq`45  
      multipart请求信息的最大尺寸(文件上传用) QP/%+[E.  
/orpQUHA  
struts.multipart.parser +c;/hM<IX.  
      The org.apache.struts2.dispatcher.multipart. @a-u_|3q  
      MultiPartRequest parser implementation for a multipart request (file upload) C_xO k'091  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) WeyH;P=  
; ^+#  
8>^(-ca_  
struts.multipart.saveDir  mG4$  
      The directory to use for storing uploaded files -(*<2Hy4  
      设置存储上传文件的目录夹 ETU.v*HT]  
{p3VHd#  
struts.objectFactory /]7FX"  
      The com.opensymphony.xwork2.ObjectFactory implementation class `q =e<$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {6H%4n  
GP=i6I6C  
struts.objectFactory.spring.autoWire #=@H-ZuD7  
      Whether Spring should autoWire or not + / s2;G  
      是否自动绑定Spring rHe*/nN%*  
[MLJs-*   
struts.objectFactory.spring.useClassCache >d#oJ?goX  
      Whether Spring should use its class cache or not h1O^~"x  
      是否spring应该使用自身的cache Z{-x}${  
V)x(\ls]SX  
struts.objectTypeDeterminer qkQ _#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E.~;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,K4*0!TXP  
`"~s<+  
struts.serve.static.browserCache ) D_ZZPq_  
If static content served by the Struts filter should set browser caching header properties or not 1$S;#9PQ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9 {&APxm  
ttQX3rmF01  
struts.serve.static p }p1>-j  
      Whether the Struts filter should serve static content or not hv" 'DP  
      是否struts过滤器应该提供静态内容 [f`^+,U  
F:$Dz?F0v  
struts.tag.altSyntax 'zYKG5A  
      Whether to use the alterative syntax for the tags or not "V/|RC  
      是否可以用替代的语法替代tags j5hM |\]  
V[E7 mhqy  
struts.ui.templateDir 6 0C;J!D  
      The directory containing UI templates :CH*~o  
      UI templates的目录夹 jC_7cAsl  
bOIVe  
struts.ui.theme g;p]lVx=>  
      The default UI template theme VrG4wLpLs  
      默认的UI template主题 8R !3}kx  
f1eY2UtWQ  
struts.url.http.port gkxEy5c[  
      The HTTP port used by Struts URLs VyRU_<xP  
      设置http端口 ;=rMIi  
5<0d2bK$  
struts.url.https.port \)?mIwo7~  
      The HTTPS port used by Struts URLs L|sWSrqd  
      设置https端口 aFkxR\x 6%  
*7 L*:g  
struts.url.includeParams / D9FjOP  
      The default includeParams method to generate Struts URLs OBF3)L]  
      在url中产生 默认的includeParams }h+_kRQ  
w8~J5XS  
g4n& k  
struts.velocity.configfile p)  x.Y  
      The Velocity configuration file path b0\'JZ  
      velocity配置文件路径 sy^k:y?  
&p?Oo^  
struts.velocity.contexts H<$.AC\zn  
      List of Velocity context names  84PD`A  
      velocity的context列表 |=OO$z;q|  
OL+!,Y  
6~g:"}  
struts.velocity.manager.classname 7ko7)"N  
      org.apache.struts2.views.velocity.VelocityManager implementation class *%0f^~!G<p  
      org.apache.struts2.views.velocity.VelocityManager接口名 A<6V$e$:2  
H>AzxhX[n  
struts.velocity.toolboxlocation kvU0$1  
      The location of the Velocity toolbox dhW;|  
      velocity工具盒的位置 ~;ink   
struts.xslt.nocache 1'|6IR1'  
      Whether or not XSLT templates should not be cached )g4oUZDF  
      是否XSLT模版应该被缓存 IB wqu w+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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