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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -5A@FGh  
+MOUO$;fGt  
struts.action.extension uJG^>B?`b  
      The URL extension to use to determine if the request is meant for a Struts action 7/(C1II.Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u~?]/-.TY  
$g#j,  
struts.configuration dL")E|\\k  
      The org.apache.struts2.config.Configuration implementation class ~s{$&N  
        org.apache.struts2.config.Configuration接口名 oZ%t!Fl1  
rQK2&37-,@  
struts.configuration.files tiwhG%?2  
      A list of configuration files automatically loaded by Struts _y`'T;~OY  
      struts自动加载的一个配置文件列表 A0S6 4(  
9 4W9P't  
struts.configuration.xml.reload -4b9(  
      Whether to reload the XML configuration or not Yc#oGCt  
      是否加载xml配置(true,false) XaD}J:Xq  
BZsw(l4/0'  
struts.continuations.package bn^^|i  
      The package containing actions that use Rife continuations Lm'Ony^F  
      含有actions的完整连续的package名称 &&[j/d}J  
q{c6DCc]\  
struts.custom.i18n.resources %@*diJ  
      Location of additional localization properties files to load hdN3r{  
      加载附加的国际化属性文件(不包含.properties后缀) \u,hS*v0  
uZId.+Rk  
struts.custom.properties g}' "&Y  
      Location of additional configuration properties files to load LP_ !g  
      加载附加的配置文件的位置 RXgi>Hz  
Q=~e|  
Oa7`Y`6  
struts.devMode L4S Fu.J'  
      Whether Struts is in development mode or not z -(dT  
      是否为struts开发模式 (a`z:dz}  
k  `.-PU  
struts.dispatcher.parametersWorkaround fYx$3a.  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic m+DkO{8F  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  2c!?!:s  
W3 2mAz;  
struts.enable.DynamicMethodInvocation Ik=KEOz  
      Allows one to disable dynamic method invocation from the URL I2|iqbX40Q  
        允许动态方法调用 ~oT0h[<  
"S#0QH%5  
struts.freemarker.manager.classname ^#exs Xy  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class sKjg)3Sl  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 nb'],({:9  
LUKdu&M  
struts.i18n.encoding  UX2`x9  
      The encoding to use for localization messages sh}=#eb  
      国际化信息内码 kY xn5+~  
Vjj30f  
struts.i18n.reload 62%. ddM4  
      Whether the localization messages should automatically be reloaded 6E@r9U  
      是否国际化信息自动加载 s qac>v  
&^qD<eZ!Eq  
struts.locale #)=P/N1  
      The default locale for the Struts application lGjmw"/C  
      默认的国际化地区信息 Hc^b}A y7  
lh~!cOm\=E  
struts.mapper.class T -C2V$1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T\8|Q @  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 z9&$Xao  
N}VKH5U|  
struts.multipart.maxSize 3HFsR)  
      The maximize size of a multipart request (file upload) &c ayhL/%  
      multipart请求信息的最大尺寸(文件上传用) `<y2l94tL  
|53Zg"!  
struts.multipart.parser TS$ 2K  
      The org.apache.struts2.dispatcher.multipart. e}kEh+4  
      MultiPartRequest parser implementation for a multipart request (file upload) cl1h;w9s  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cL<  
lkFv5^%  
5cgDHs  
struts.multipart.saveDir =|pQA~UU#  
      The directory to use for storing uploaded files io$AGi  
      设置存储上传文件的目录夹 \ tF><  
&`pd&U{S*  
struts.objectFactory 8>6+]]O  
      The com.opensymphony.xwork2.ObjectFactory implementation class o}7`SYn  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %@kmuz??  
V8`t7[r  
struts.objectFactory.spring.autoWire MPT*[&\-  
      Whether Spring should autoWire or not 2m[z4V@`  
      是否自动绑定Spring E]6;nY?  
+<|6y46  
struts.objectFactory.spring.useClassCache =+'4u  
      Whether Spring should use its class cache or not rC[*x}  
      是否spring应该使用自身的cache @lDoMm,m'  
j5G8IP_Wx  
struts.objectTypeDeterminer <8+.v6DCd  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C:0Ra^i ?L  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 DE^{8YX,  
+VI2i~  
struts.serve.static.browserCache vv"_u=H  
If static content served by the Struts filter should set browser caching header properties or not oh:g  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xQ^zX7  
 $3W[fC  
struts.serve.static ygWo9?  
      Whether the Struts filter should serve static content or not oOmPbAY  
      是否struts过滤器应该提供静态内容 qOV#$dkY  
O9dIobu4  
struts.tag.altSyntax 2u*o/L+  
      Whether to use the alterative syntax for the tags or not o[O-|XL_  
      是否可以用替代的语法替代tags F%+/j5~^  
I|n<B"Q6^  
struts.ui.templateDir >j|.pi  
      The directory containing UI templates 9`$fU)K[Pl  
      UI templates的目录夹 go@UE2qw  
MHpPb{ ^  
struts.ui.theme 1ePZs$  
      The default UI template theme g"FG7E&  
      默认的UI template主题 /3L1Un*  
 #dtYa  
struts.url.http.port iLws;3UX;x  
      The HTTP port used by Struts URLs S c_*L<$  
      设置http端口 @vCPX=c  
4=%Uv^M  
struts.url.https.port #78p# E  
      The HTTPS port used by Struts URLs q+>{@tP9  
      设置https端口 m5v9:5{  
Zq}w}v  
struts.url.includeParams 6 GO7[?U<  
      The default includeParams method to generate Struts URLs z\sy~DM;>  
      在url中产生 默认的includeParams 8G6PcTqv"  
-shS?kV  
9H_2Y%_  
struts.velocity.configfile "<Dn%r  
      The Velocity configuration file path i"_)91RA  
      velocity配置文件路径 #Ne<=ayS  
G{pfyfF  
struts.velocity.contexts m$ NBGw  
      List of Velocity context names P|!GXkS  
      velocity的context列表 `kpX}cKK}  
X2}\i5{  
hJ (Q^Z  
struts.velocity.manager.classname 5IOOVYl  
      org.apache.struts2.views.velocity.VelocityManager implementation class Q&opnvN  
      org.apache.struts2.views.velocity.VelocityManager接口名 lQ<2Vw#Yl  
C5CUMYU  
struts.velocity.toolboxlocation IgI*mDS&b  
      The location of the Velocity toolbox >8"oO[U5>  
      velocity工具盒的位置 /XeDN-{  
struts.xslt.nocache 0k@4;BYu  
      Whether or not XSLT templates should not be cached &BY%<h0c  
      是否XSLT模版应该被缓存 d(3F:dbk  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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