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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ' +*,|;?  
sM0o,l(5  
struts.action.extension z')zV oW,  
      The URL extension to use to determine if the request is meant for a Struts action ]0yYMnqvr  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 LG6k KG  
UvPD/qu$8D  
struts.configuration sH}q&=  
      The org.apache.struts2.config.Configuration implementation class |Vq&IfP  
        org.apache.struts2.config.Configuration接口名 Q*h%'oc`  
V`;$Ua;y  
struts.configuration.files ; D a[jFP  
      A list of configuration files automatically loaded by Struts K0bh;I  
      struts自动加载的一个配置文件列表 2*<'=*zaQ  
Q[U_ 0O,A9  
struts.configuration.xml.reload xU5+"t~  
      Whether to reload the XML configuration or not ygz6 ~(  
      是否加载xml配置(true,false) Gd08RW  
kk*:S*,  
struts.continuations.package zLa3Q\T  
      The package containing actions that use Rife continuations Ad@Odx=o*R  
      含有actions的完整连续的package名称  iNxuQ7~  
9*lkx#  
struts.custom.i18n.resources 3>I   
      Location of additional localization properties files to load +#|):aF  
      加载附加的国际化属性文件(不包含.properties后缀) Z;XiA<|  
*~0Ko{Avc  
struts.custom.properties P4~=_Hh  
      Location of additional configuration properties files to load #ErIot  
      加载附加的配置文件的位置 cx(W{O"Jb  
+uY)MExs2  
nHB=*Mj DV  
struts.devMode U.[?1:v  
      Whether Struts is in development mode or not ?(!<m'jEy  
      是否为struts开发模式 k'd(H5A   
;Q0WCm\5  
struts.dispatcher.parametersWorkaround KfVLb4@16_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic j+>#.22+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UI,i2<&  
3w B03\P  
struts.enable.DynamicMethodInvocation  / hl:p  
      Allows one to disable dynamic method invocation from the URL ?5oeyBA@  
        允许动态方法调用 N{$'-[  
EpO5 _T_  
struts.freemarker.manager.classname rkW2_UTZE  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j+_pF<$f:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $YyN-C  
t`XY Y  
struts.i18n.encoding CX8tTbuFl  
      The encoding to use for localization messages %qM3IVPK)q  
      国际化信息内码 nv9kl Q@  
P K]$D[a0  
struts.i18n.reload  ThLnp@  
      Whether the localization messages should automatically be reloaded 2eOde(K+  
      是否国际化信息自动加载 {[&_)AW6m%  
E!eBQ[@  
struts.locale <u"h'e/oW_  
      The default locale for the Struts application O-M4NKl]6  
      默认的国际化地区信息 Z L3aO,G2  
-cjwa-9 ~  
struts.mapper.class S&C  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '5Zt B<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 +U%U3tAvs  
-F+dRzxH  
struts.multipart.maxSize qGE?[\t[6  
      The maximize size of a multipart request (file upload) m,~ @1  
      multipart请求信息的最大尺寸(文件上传用) mv1_vF:  
95,{40;X7  
struts.multipart.parser [S}o[v\  
      The org.apache.struts2.dispatcher.multipart. (L)tC*Qjc  
      MultiPartRequest parser implementation for a multipart request (file upload) !zw)! rV=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s ^/<6kwO  
n%Vt r  
9M)N2+hkZ  
struts.multipart.saveDir Ba$Ibq,r/  
      The directory to use for storing uploaded files {I!sXj  
      设置存储上传文件的目录夹  !,*#e  
p2|BbC\N  
struts.objectFactory {-sy,EYcw  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0;Y|Ua[G+~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;P-xKRU!Xx  
o,!r t1&0  
struts.objectFactory.spring.autoWire `hD\u@5Tw  
      Whether Spring should autoWire or not M'=27!D^  
      是否自动绑定Spring rurC! -  
{YCquoF  
struts.objectFactory.spring.useClassCache <t{T]i+  
      Whether Spring should use its class cache or not [TPr  
      是否spring应该使用自身的cache bF88F_  
5Pis0fa  
struts.objectTypeDeterminer Y&O<A8=8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .)W'{2J-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 aDx{Q&  
Tc6H%itV  
struts.serve.static.browserCache 7Q<xC  
If static content served by the Struts filter should set browser caching header properties or not a.a5qwG  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 yfS`g-j{~  
GM6Y`iU  
struts.serve.static ^ ~HV`s  
      Whether the Struts filter should serve static content or not jUq^$+N  
      是否struts过滤器应该提供静态内容 5$Yt@8;  
A f@IsCOJ  
struts.tag.altSyntax A*BIudli  
      Whether to use the alterative syntax for the tags or not @Z.s:FV[  
      是否可以用替代的语法替代tags FAVw80?5k  
goi5I(yn^  
struts.ui.templateDir 3QDz0ct  
      The directory containing UI templates )o'&f"/  
      UI templates的目录夹 '&5A*X]d  
DfFsCTu  
struts.ui.theme }d2]QD#O  
      The default UI template theme ~Dw.3P:-  
      默认的UI template主题 d18%zY>  
|1G/J[E  
struts.url.http.port O $uXQ.r  
      The HTTP port used by Struts URLs B*A{@)_  
      设置http端口 bWK}oYB*  
Exox&T  
struts.url.https.port ]<mXf~zg  
      The HTTPS port used by Struts URLs <qs>c<Vj  
      设置https端口 o'@VDGS`  
-C wx %  
struts.url.includeParams }E+}\&  
      The default includeParams method to generate Struts URLs  KTd,^h  
      在url中产生 默认的includeParams  Hq h  
X#<#7.  
]sJWiIe.  
struts.velocity.configfile dOArXp`s  
      The Velocity configuration file path Wa%Zt*7  
      velocity配置文件路径 ~p{.4n2:  
R_ojK&%  
struts.velocity.contexts I ;N)jj`b  
      List of Velocity context names 'u$e2^  
      velocity的context列表 |D u.aN  
WR=e$ ;  
r#wMd9])  
struts.velocity.manager.classname #uJGXrGt=  
      org.apache.struts2.views.velocity.VelocityManager implementation class r# 5))q-  
      org.apache.struts2.views.velocity.VelocityManager接口名 HONrt|c  
s8 .OL_e  
struts.velocity.toolboxlocation mXT{)pU  
      The location of the Velocity toolbox `<2y [<y  
      velocity工具盒的位置 Esw#D90q  
struts.xslt.nocache ,9gyHQ~  
      Whether or not XSLT templates should not be cached stz1e dP  
      是否XSLT模版应该被缓存 CXGq>cQ=d  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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