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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 g}m+f] |  
|Q5+l.%  
struts.action.extension K\aAM;)-  
      The URL extension to use to determine if the request is meant for a Struts action JN|VPvjE   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M7vj^mt?  
NocFvF7\  
struts.configuration <ZVZ$ZW~D  
      The org.apache.struts2.config.Configuration implementation class yhwy>12,K  
        org.apache.struts2.config.Configuration接口名 # ) `\!)?  
IkU|W3Vo  
struts.configuration.files KJdz v!l=  
      A list of configuration files automatically loaded by Struts  $WR?  
      struts自动加载的一个配置文件列表 Wy.";/C  
Je@kiE  
struts.configuration.xml.reload kN.B/itvA  
      Whether to reload the XML configuration or not {"jd_b&  
      是否加载xml配置(true,false) gApz:K[l  
FQ!Oxlq,Q  
struts.continuations.package 8kS~ENe?o  
      The package containing actions that use Rife continuations sl^n6N  
      含有actions的完整连续的package名称 Mi?}S6bp  
m:3J!1  
struts.custom.i18n.resources Z7KXWu+6`m  
      Location of additional localization properties files to load CL1 oAk  
      加载附加的国际化属性文件(不包含.properties后缀) [%?y( q  
+sRP<as  
struts.custom.properties `s%QeAde  
      Location of additional configuration properties files to load / gu3@@h  
      加载附加的配置文件的位置 'in@9XO  
kW +G1|  
).Gd1pE  
struts.devMode :3 y_mf>  
      Whether Struts is in development mode or not $kl$D"*0  
      是否为struts开发模式 h R~v  
E(;i>   
struts.dispatcher.parametersWorkaround x2m]Us@LIU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic LipxAE?O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &[~[~m|  
`.8UKSH+  
struts.enable.DynamicMethodInvocation >XnO&hW  
      Allows one to disable dynamic method invocation from the URL Um\0i;7 ~4  
        允许动态方法调用 ;ctU&`  
;cLUnsB\  
struts.freemarker.manager.classname 3~<}bee5|q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i. M2E$b|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 GI_DhU]~)  
!oGQ8 e  
struts.i18n.encoding ?+\E3}:  
      The encoding to use for localization messages yd*3)6=  
      国际化信息内码 {*$9,  
auL^%M|$R  
struts.i18n.reload |Euus5[  
      Whether the localization messages should automatically be reloaded Pr/]0<s  
      是否国际化信息自动加载 0+j}};   
fGTOIi@#  
struts.locale *KJ7nRKx(w  
      The default locale for the Struts application Nxi)Q$  
      默认的国际化地区信息 4TVwa(cB  
L/ fRF"V  
struts.mapper.class VaJfD1zd1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  D%gGRA  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 az2X ch]  
KuXkI;63J>  
struts.multipart.maxSize H`el#tt_  
      The maximize size of a multipart request (file upload) ^/a*.cu  
      multipart请求信息的最大尺寸(文件上传用) m|1n x  
?ZX!7^7  
struts.multipart.parser Up|f=@=  
      The org.apache.struts2.dispatcher.multipart. DEtf(lW_  
      MultiPartRequest parser implementation for a multipart request (file upload) {cR3.%wX  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) B6%&gXr\  
!=[>r'+3  
/< QSe  
struts.multipart.saveDir 7xT[<?,  
      The directory to use for storing uploaded files Ow)R|/e /  
      设置存储上传文件的目录夹 R&Ci/  
.[(P  
struts.objectFactory TVeJ6  
      The com.opensymphony.xwork2.ObjectFactory implementation class q% E C  
      com.opensymphony.xwork2.ObjectFactory接口(spring) z 6cYC,  
I N_gF_@%  
struts.objectFactory.spring.autoWire C{&)(#*L  
      Whether Spring should autoWire or not K'Spbn!nC  
      是否自动绑定Spring Ue!Q."  
"i%jQL'.  
struts.objectFactory.spring.useClassCache LS6ry,D"7  
      Whether Spring should use its class cache or not 8t[t{"  
      是否spring应该使用自身的cache (}jL_E  
<+q$XL0  
struts.objectTypeDeterminer enumK\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K(3&27sGN  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |X3">U +-  
On%,l  
struts.serve.static.browserCache lwJipIO  
If static content served by the Struts filter should set browser caching header properties or not |_nC6 ;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZAeQ~ j~  
(}"S) #C  
struts.serve.static n1 v,#GE  
      Whether the Struts filter should serve static content or not ! Rvn'|!  
      是否struts过滤器应该提供静态内容 X" \}sl 5  
Pb4q`!  
struts.tag.altSyntax &I)\*Ue2t  
      Whether to use the alterative syntax for the tags or not I.a0[E/,  
      是否可以用替代的语法替代tags }p*?1N  
<4f,G]UH_  
struts.ui.templateDir h. ^o)T  
      The directory containing UI templates >[Rz <yv  
      UI templates的目录夹 VDa|U9N  
T V;BNCg  
struts.ui.theme (I~\,[  
      The default UI template theme ! TDD^  
      默认的UI template主题 H&K3"Ulw  
85hQk+Bu4  
struts.url.http.port 0x71%=4H^x  
      The HTTP port used by Struts URLs NjP ]My  
      设置http端口 :o$@F-$k  
t'aSF{%  
struts.url.https.port J7n5Ps\M  
      The HTTPS port used by Struts URLs w_3xKnMT\  
      设置https端口 0!_*S )  
tBv3~Of.  
struts.url.includeParams BSDk9Oc  
      The default includeParams method to generate Struts URLs 7E\gxQ(vU  
      在url中产生 默认的includeParams WgPgG0VJE  
4>_d3_1sn  
Qi:j)uDW  
struts.velocity.configfile ~p^7X2% !  
      The Velocity configuration file path lY,/ W  
      velocity配置文件路径 T.2ZBG ~|[  
ZpWu,1  
struts.velocity.contexts i@6wO?Tv  
      List of Velocity context names 6|oWaA\gI  
      velocity的context列表 }{mG/(LX8  
n^Vxi;F  
p%8 v`  
struts.velocity.manager.classname !sG"n&uZq  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0[9I0YBJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 Mr.JLW  
-#%X3F7/w  
struts.velocity.toolboxlocation PGY9*0n  
      The location of the Velocity toolbox }$:#+ (17  
      velocity工具盒的位置 pyF5S,c  
struts.xslt.nocache XN(tcdCG  
      Whether or not XSLT templates should not be cached >2Ca5C  
      是否XSLT模版应该被缓存 \k4pK &b  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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