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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 d|XmasGN  
`9Yn0B.  
struts.action.extension (luKn&826  
      The URL extension to use to determine if the request is meant for a Struts action w&Y{1rF>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .6 3=(o  
3uV4/% U  
struts.configuration w7FoL  
      The org.apache.struts2.config.Configuration implementation class 8Hi!kc;f6>  
        org.apache.struts2.config.Configuration接口名 ^rL_C}YBj-  
EF#QH _X  
struts.configuration.files  %v+=;jw  
      A list of configuration files automatically loaded by Struts UL( lf}M  
      struts自动加载的一个配置文件列表 j?6X1cMq  
I9Eu',  
struts.configuration.xml.reload Kc #|Z  
      Whether to reload the XML configuration or not ecj7BT[mLI  
      是否加载xml配置(true,false) 06 i;T~Y  
N2ied^* 0  
struts.continuations.package MV0Lq:# N  
      The package containing actions that use Rife continuations TJ(K3/)Z  
      含有actions的完整连续的package名称 7AwgJb hn  
x({H{'9?  
struts.custom.i18n.resources "0CjP+1k  
      Location of additional localization properties files to load  rkB'Hf  
      加载附加的国际化属性文件(不包含.properties后缀) oFDz;6  
S{#cD1>.  
struts.custom.properties maNW{"1  
      Location of additional configuration properties files to load %g3,qI  
      加载附加的配置文件的位置 DWU`\9xA*  
-oyO+1V  
j}:~5|.  
struts.devMode :K':P5i  
      Whether Struts is in development mode or not t\4[``t  
      是否为struts开发模式 D)Q)NI  
>\2:\wI  
struts.dispatcher.parametersWorkaround kL>d"w  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @F~LW6K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) x;LzG t:w  
?+0GfIV  
struts.enable.DynamicMethodInvocation J~#$J&iKh  
      Allows one to disable dynamic method invocation from the URL >?lOE -}^  
        允许动态方法调用 qQ0C?  
C [uOReo  
struts.freemarker.manager.classname kW@,$_cK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~rD={&0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 8X$LC  
k |YWOy@D~  
struts.i18n.encoding nV*y`.+  
      The encoding to use for localization messages 9Q;c ,]  
      国际化信息内码 D)@XoM(  
 k5`OH8G  
struts.i18n.reload j(rL  
      Whether the localization messages should automatically be reloaded &fOdlQ?  
      是否国际化信息自动加载 dRi5hC$  
_ oFs #kW  
struts.locale p\p\q(S">  
      The default locale for the Struts application l?8M p$M  
      默认的国际化地区信息 "TcW4U9  
Ge+0-I6Ju  
struts.mapper.class FV39QG4b4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4|?{VQ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Oakb'  
7.Kc:7  
struts.multipart.maxSize "2?l{4T\  
      The maximize size of a multipart request (file upload) 23!;}zHp  
      multipart请求信息的最大尺寸(文件上传用) o|BP$P8V  
hm*cw[#O1x  
struts.multipart.parser 1oLv.L  
      The org.apache.struts2.dispatcher.multipart. 69K{+|  
      MultiPartRequest parser implementation for a multipart request (file upload) d XHB#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N|g;W  
)~J>X{hy  
kq=V4-a[  
struts.multipart.saveDir FQz?3w&ia  
      The directory to use for storing uploaded files Kl{>jr8B3  
      设置存储上传文件的目录夹 zSEs?  
`d]IX^;  
struts.objectFactory cO2& VC  
      The com.opensymphony.xwork2.ObjectFactory implementation class 'XrRhF (  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4+;$7"fJ  
4mjgt<`  
struts.objectFactory.spring.autoWire Y-mK+1 2  
      Whether Spring should autoWire or not LhXUm  
      是否自动绑定Spring lbdTQ6R  
H9)m^ *  
struts.objectFactory.spring.useClassCache O,2~"~kF  
      Whether Spring should use its class cache or not i':i_kU  
      是否spring应该使用自身的cache cF)/^5Z  
B+d<F[ |  
struts.objectTypeDeterminer {66sB{P  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class a]Eg!Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 TjMe?p  
h%; e0Xz|  
struts.serve.static.browserCache dy__e^qi  
If static content served by the Struts filter should set browser caching header properties or not rl#vE's6.e  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 / $  :j  
"@A![iP  
struts.serve.static 0MMEo~dih  
      Whether the Struts filter should serve static content or not J7D}%  
      是否struts过滤器应该提供静态内容 f3j{VN  
"gtHTqheH  
struts.tag.altSyntax ^9OUzTF  
      Whether to use the alterative syntax for the tags or not >_dx_<75&  
      是否可以用替代的语法替代tags "xmP6=1  
g"s$}5{8:  
struts.ui.templateDir C?ib_K*  
      The directory containing UI templates 1"7Sy3  
      UI templates的目录夹 o%{'UG  
)n49lr6 X  
struts.ui.theme {Gq*e/  
      The default UI template theme <ljI;xE  
      默认的UI template主题 %CwL:.|  
2~[@_  
struts.url.http.port *[ #;j$m  
      The HTTP port used by Struts URLs `@d<n  
      设置http端口 8$s9(n-_Y  
j"^ +oxH  
struts.url.https.port znJhP}(  
      The HTTPS port used by Struts URLs /={Js*  
      设置https端口 j*"3t^|-  
-9 !.m  
struts.url.includeParams tWTKgbj(  
      The default includeParams method to generate Struts URLs 'i;|c  
      在url中产生 默认的includeParams R[z`:1lo  
a,F&`Wg  
l0&EZN0V2  
struts.velocity.configfile J:uW`R  
      The Velocity configuration file path DFhXx6]  
      velocity配置文件路径 e^4 p%  
sDr/k`>  
struts.velocity.contexts dkgSvi :!  
      List of Velocity context names YprH wL  
      velocity的context列表 }+o:j'jB  
MV_Srz  
~DRmON5 M  
struts.velocity.manager.classname "mL++>ZSQ  
      org.apache.struts2.views.velocity.VelocityManager implementation class )"zvwgaW  
      org.apache.struts2.views.velocity.VelocityManager接口名 73{'k K  
Q9}dHIe1E  
struts.velocity.toolboxlocation f/WQ[\<!I  
      The location of the Velocity toolbox iGB_{F~t4}  
      velocity工具盒的位置 ZyOv.,y  
struts.xslt.nocache dm-pxE "  
      Whether or not XSLT templates should not be cached O#wpbrJ  
      是否XSLT模版应该被缓存 ,B4VT 96*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五