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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 X~RET[L2  
,cm;A'4]  
struts.action.extension bA#E8dlC_  
      The URL extension to use to determine if the request is meant for a Struts action 1{+Ni{  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [.P~-6~  
 /A|cO   
struts.configuration 3"'|Ql.H  
      The org.apache.struts2.config.Configuration implementation class ]3#_BL)M8p  
        org.apache.struts2.config.Configuration接口名 U[~BW[[@f  
~..h=  
struts.configuration.files 5v8&C2Jy@  
      A list of configuration files automatically loaded by Struts Ch ` Omq  
      struts自动加载的一个配置文件列表 (mHFyEG  
-W>zON|l  
struts.configuration.xml.reload lkp!S3,  
      Whether to reload the XML configuration or not r8C6bFYM  
      是否加载xml配置(true,false) x U1dy*-  
gDnG!i+  
struts.continuations.package m^_)aS  
      The package containing actions that use Rife continuations #'z\[^vp  
      含有actions的完整连续的package名称 WPyd ^Y<  
ee&QZVL>  
struts.custom.i18n.resources hD58 s"L$  
      Location of additional localization properties files to load ;B`e;B?1Q  
      加载附加的国际化属性文件(不包含.properties后缀) Ks09F}  
z'r.LBnh  
struts.custom.properties iXC/? EK4  
      Location of additional configuration properties files to load  U^ BB|  
      加载附加的配置文件的位置 O*oL(dk*8L  
3 Yl[J;i  
9!V<=0b/  
struts.devMode Pw /wAUt  
      Whether Struts is in development mode or not iZ[o2Tre  
      是否为struts开发模式 ,%d n)gt7  
;BoeE3* 6  
struts.dispatcher.parametersWorkaround V&KH{j/P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic xPqpNs-,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) n2-R[W^  
=}7wpTc,  
struts.enable.DynamicMethodInvocation @N.W#<IG  
      Allows one to disable dynamic method invocation from the URL s4SR6hBO  
        允许动态方法调用 ]8YHA}P  
?Z!itB~  
struts.freemarker.manager.classname R|t.wawCo  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5n.4>yOY  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 c#9 zw[y-L  
^f!d8 V  
struts.i18n.encoding &nPv%P,e  
      The encoding to use for localization messages =KT7ZSTV  
      国际化信息内码 NLb/Bja  
D'O[0?N"g  
struts.i18n.reload z[qM2  
      Whether the localization messages should automatically be reloaded w _eu@R:u@  
      是否国际化信息自动加载 CNcH)2Mk  
0e8)*2S  
struts.locale & A9psc(,&  
      The default locale for the Struts application _F^|n}Qbj  
      默认的国际化地区信息 OY~5o&Oa  
?vf{v  
struts.mapper.class WP^%[?S2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class UDyvTfh1X  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 y9\s[}c_  
_* 4 <  
struts.multipart.maxSize )#3 ,y6  
      The maximize size of a multipart request (file upload) XrSqU D  
      multipart请求信息的最大尺寸(文件上传用) oB9Fas!N  
pfAp2"  
struts.multipart.parser 8qBRO[  
      The org.apache.struts2.dispatcher.multipart. ]RnX'yw^  
      MultiPartRequest parser implementation for a multipart request (file upload) */\dH<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) RWA|%/L  
B5B'H3@  
&;9<a^td  
struts.multipart.saveDir /q='~t  
      The directory to use for storing uploaded files s'\"%~nF<  
      设置存储上传文件的目录夹 F$F5N1<  
~>}BDsM  
struts.objectFactory Bb:jy!jq_  
      The com.opensymphony.xwork2.ObjectFactory implementation class *N'B(j/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j- F=5)A  
$BH0W{S  
struts.objectFactory.spring.autoWire 0?,EteR  
      Whether Spring should autoWire or not .M:,pw"S]  
      是否自动绑定Spring +$},Hu69j  
" I`YJEv  
struts.objectFactory.spring.useClassCache (a7IxW  
      Whether Spring should use its class cache or not w #(XiH*  
      是否spring应该使用自身的cache GUat~[lUrj  
|Z 3POD"9  
struts.objectTypeDeterminer vn}Vb+@R  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^@X =v`C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N@)4H2_u \  
X[;4.imE  
struts.serve.static.browserCache kV6>O C&^  
If static content served by the Struts filter should set browser caching header properties or not {AIZ,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wV56LW  
e4CG=K3s  
struts.serve.static %_tL}m{?  
      Whether the Struts filter should serve static content or not e1&c_"TOih  
      是否struts过滤器应该提供静态内容 5-u=ZB%p  
, st4K;-  
struts.tag.altSyntax $#Ji=JX  
      Whether to use the alterative syntax for the tags or not u> >t"w  
      是否可以用替代的语法替代tags 0HxF#SlKM  
:^iR&`2~  
struts.ui.templateDir } A# C  
      The directory containing UI templates V i#(x9.  
      UI templates的目录夹 ~q|^z[7  
v/yk T9@;  
struts.ui.theme hDp'=}85@  
      The default UI template theme ;oR-\;]/.  
      默认的UI template主题 5&94VQ$d  
QX(:!b  
struts.url.http.port 5@ ZD'  
      The HTTP port used by Struts URLs X#eVw|  
      设置http端口 p3^7Hr  
b:%>T PT  
struts.url.https.port /h2`?~k+  
      The HTTPS port used by Struts URLs $/wr?  
      设置https端口 `hH1rw@7<  
=}c~BHT  
struts.url.includeParams SKG_P)TnO  
      The default includeParams method to generate Struts URLs P$4?-AZ  
      在url中产生 默认的includeParams 9@vY(k k  
pbm4C0W}  
s 6hj[^O  
struts.velocity.configfile MF E%q  
      The Velocity configuration file path i, RK0q?>  
      velocity配置文件路径 };zF&  
* 5P/&*c|  
struts.velocity.contexts s_1]&0<  
      List of Velocity context names @ $(4;ar  
      velocity的context列表 @&M $`b ^  
hZzsZQ`  
I|R9@  
struts.velocity.manager.classname \-sD RW  
      org.apache.struts2.views.velocity.VelocityManager implementation class (4c<0<"$  
      org.apache.struts2.views.velocity.VelocityManager接口名 UJ6WrO5#kB  
NWNgh/9?  
struts.velocity.toolboxlocation W BiBtU  
      The location of the Velocity toolbox g?@(+\W  
      velocity工具盒的位置 Z.R^@@RqJ  
struts.xslt.nocache }){hQt7  
      Whether or not XSLT templates should not be cached  ;\iQZ~   
      是否XSLT模版应该被缓存 H9jj**W ;$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五