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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7s}F`fjKP  
CWd &  
struts.action.extension O\%0D.HEz  
      The URL extension to use to determine if the request is meant for a Struts action v&f\ Jv7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <fMQ#No  
v9t'CMU  
struts.configuration sULsUt#  
      The org.apache.struts2.config.Configuration implementation class Q(BZg{  
        org.apache.struts2.config.Configuration接口名 6IJ;od.\b$  
Ou f\%E<  
struts.configuration.files eOZ~p  
      A list of configuration files automatically loaded by Struts 8N<m V^|}  
      struts自动加载的一个配置文件列表 $!\L6;:  
n+vv %  
struts.configuration.xml.reload 5fmQ+2A C1  
      Whether to reload the XML configuration or not ?PV@WrU>B  
      是否加载xml配置(true,false) 'CG% PjCO  
t [G7&ovj  
struts.continuations.package 9p4SxMMO  
      The package containing actions that use Rife continuations :)+)L@By  
      含有actions的完整连续的package名称 M}=fdH  
uY3#,  
struts.custom.i18n.resources 2Z`Jr/  
      Location of additional localization properties files to load "tA.`*  
      加载附加的国际化属性文件(不包含.properties后缀) Pt6d5EIG  
_,p/2m-Pj  
struts.custom.properties 3 rLc\rK  
      Location of additional configuration properties files to load N5xI;UV9'  
      加载附加的配置文件的位置 }C~9 ?Y  
FL0yRF5  
rK'O 85)eU  
struts.devMode ( "<4Ry.u  
      Whether Struts is in development mode or not Fa#5a'}I  
      是否为struts开发模式 $lUz!m jG  
#wh[F"zX  
struts.dispatcher.parametersWorkaround ,E+\SBQS_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic a%/x  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {OS[0LB  
'BVI^H4  
struts.enable.DynamicMethodInvocation Q7mikg=1-  
      Allows one to disable dynamic method invocation from the URL ZA'0 q  
        允许动态方法调用 {D [z>I;D  
hN!{/Gc|  
struts.freemarker.manager.classname v.gAi6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :e}j$v F  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7sVO?:bj}  
+.m:-^9  
struts.i18n.encoding DKl\N~{F  
      The encoding to use for localization messages d%p{l)Hd  
      国际化信息内码 Y"m}=\4{  
dw| VH1fS  
struts.i18n.reload 98UI]? 4  
      Whether the localization messages should automatically be reloaded w`zS`+4  
      是否国际化信息自动加载 UyDq`@h  
aHNn!9#1  
struts.locale E*+]Iq1u  
      The default locale for the Struts application v,iq,p)&  
      默认的国际化地区信息 )R"UX:Q>  
=:H EF;!  
struts.mapper.class `2q]ju  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8N`Rf; BM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >aCY  
5R1? jlm  
struts.multipart.maxSize *I k/Vu%;  
      The maximize size of a multipart request (file upload) |"eC0u  
      multipart请求信息的最大尺寸(文件上传用) jgfr_"@A  
e&Z ?I2J  
struts.multipart.parser =^)$my\C:  
      The org.apache.struts2.dispatcher.multipart. `t g=__D  
      MultiPartRequest parser implementation for a multipart request (file upload) > V >GiSni  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %V#? 1{  
0P;LH3sx  
DMKtTt[}  
struts.multipart.saveDir JDO n`7!w  
      The directory to use for storing uploaded files +9# qNkP  
      设置存储上传文件的目录夹 "`* >co6r  
%e+*&Z',  
struts.objectFactory 58o&Dv6?  
      The com.opensymphony.xwork2.ObjectFactory implementation class U.N& ~S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7DeBeY  
# `@jVX0  
struts.objectFactory.spring.autoWire +.xK`_[M  
      Whether Spring should autoWire or not !0v3Lu ~j  
      是否自动绑定Spring 2=naPTP(  
uaha)W;'9  
struts.objectFactory.spring.useClassCache nM99AW  
      Whether Spring should use its class cache or not C!Fi &~  
      是否spring应该使用自身的cache Xp fw2;`U'  
Z[1|('   
struts.objectTypeDeterminer _gl1Qtv@rf  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J!@R0U.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 FrV8_[  
&(|x-OT  
struts.serve.static.browserCache G P`sOPr  
If static content served by the Struts filter should set browser caching header properties or not Ejyo oO45  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cSmy M~[  
iaRCV 6cl  
struts.serve.static e&NJj:Ph*  
      Whether the Struts filter should serve static content or not GX*9R>  
      是否struts过滤器应该提供静态内容 r<Q0zKW!jN  
l}D /1~d  
struts.tag.altSyntax S&c5Q*->[  
      Whether to use the alterative syntax for the tags or not '7.4!I0'  
      是否可以用替代的语法替代tags ( F4c0  
 gq} c  
struts.ui.templateDir g)IW9q2  
      The directory containing UI templates UM^~a$t  
      UI templates的目录夹 #E_<}o  
#+|0o-  
struts.ui.theme U/h@Q\~U  
      The default UI template theme STPRC&7;  
      默认的UI template主题 D|'[[=  
,z> w^_  
struts.url.http.port BUyKiMW49  
      The HTTP port used by Struts URLs mR8tW"Z2  
      设置http端口 8K&=]:(  
3XNk*Y[5  
struts.url.https.port }|Bs|$q  
      The HTTPS port used by Struts URLs :b;`.`@KL_  
      设置https端口 g3(LDqB'.  
^^*Ia'9   
struts.url.includeParams ?^`fPH=  
      The default includeParams method to generate Struts URLs dKa2_|k'  
      在url中产生 默认的includeParams r5N H*\Q  
V$dhiP z  
& +yo PF  
struts.velocity.configfile 6S0Gjekr  
      The Velocity configuration file path J_9[ x mM  
      velocity配置文件路径 $\PU Y8  
M6].V*k'2  
struts.velocity.contexts Ms-)S7tMz  
      List of Velocity context names Jw{ duM;]  
      velocity的context列表 #RHt;SFx  
6r`Xi&  
gq="&  
struts.velocity.manager.classname o1uM(  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6.6?Rp".  
      org.apache.struts2.views.velocity.VelocityManager接口名 eK}GBBdO  
B|'}HBkP  
struts.velocity.toolboxlocation Tf('iZ2+  
      The location of the Velocity toolbox wNmC1HOh  
      velocity工具盒的位置 3 {|]@ L  
struts.xslt.nocache kr-5O0tmf  
      Whether or not XSLT templates should not be cached x1Z*R+|>2  
      是否XSLT模版应该被缓存 amWKykVS5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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