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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #citwMW  
8#X?k/mzU  
struts.action.extension Qw3a"k-  
      The URL extension to use to determine if the request is meant for a Struts action ,[Dh2fPM,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 S4#A#a2J  
N>uA|<b,  
struts.configuration S^3g]5YX  
      The org.apache.struts2.config.Configuration implementation class l9M#]*{  
        org.apache.struts2.config.Configuration接口名 f28gE7Y\a  
f?/|;Zo4  
struts.configuration.files /Ki0+(4  
      A list of configuration files automatically loaded by Struts p2pTs&}S  
      struts自动加载的一个配置文件列表 mXxZM;P[  
dNR7e   
struts.configuration.xml.reload -&qRo0^3  
      Whether to reload the XML configuration or not ZcUh[5:|  
      是否加载xml配置(true,false) V-?sek{;  
P@gu~!  
struts.continuations.package ?&whE!  
      The package containing actions that use Rife continuations DBu)xr}7A  
      含有actions的完整连续的package名称 EpFIKV!  
GVjv** U  
struts.custom.i18n.resources D=i0e8D!+  
      Location of additional localization properties files to load s[0prm5.  
      加载附加的国际化属性文件(不包含.properties后缀) G;PbTsW  
I}*]m%'-Y  
struts.custom.properties Ma`   
      Location of additional configuration properties files to load r~S!<9f  
      加载附加的配置文件的位置 mp&Le YYn  
K $Mx}m7l  
3Eb nZb  
struts.devMode c7FfI"7HR  
      Whether Struts is in development mode or not #Pb7EL#c  
      是否为struts开发模式 a}5vY  
_4~ng#M*  
struts.dispatcher.parametersWorkaround gp#bQ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4f@havFIJ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k7z(Gbzu   
lU&`r:1>_  
struts.enable.DynamicMethodInvocation "@c';".|  
      Allows one to disable dynamic method invocation from the URL ?#VP)A  
        允许动态方法调用 N}8HK^n*  
b9W<1eqF  
struts.freemarker.manager.classname syWv'Y[k?  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;a!h.8UJPI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5~`|)~FA  
IQ(]66c ,  
struts.i18n.encoding $Nt=gSWw5  
      The encoding to use for localization messages #Qtg\X  
      国际化信息内码 '_TJ"lOZ  
>)AE |j`  
struts.i18n.reload /tId#/Y  
      Whether the localization messages should automatically be reloaded NPB,q& Th  
      是否国际化信息自动加载 8I5VrT  
|1_$! p  
struts.locale wu&|~@_s@  
      The default locale for the Struts application 'T&=$9g7  
      默认的国际化地区信息 E]HND.`*>  
D+*uKldS;  
struts.mapper.class +WV_`Rx#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e5WdK  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^'C,WZt  
o+if%3  
struts.multipart.maxSize 4e(9@OLP  
      The maximize size of a multipart request (file upload) $>S}acuC  
      multipart请求信息的最大尺寸(文件上传用) C*W.9  
I:uQB!  
struts.multipart.parser }\PE {  
      The org.apache.struts2.dispatcher.multipart. `>`K7-H  
      MultiPartRequest parser implementation for a multipart request (file upload) .236d^l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4'}_qAT  
ijZydn  
=u:6b} =  
struts.multipart.saveDir 94qHY1rp  
      The directory to use for storing uploaded files %U=S6<lbj;  
      设置存储上传文件的目录夹 i-i}`oN  
dCoi>PO  
struts.objectFactory ^B&ahk  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^ RcIE (  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ReHd~G9  
\V"P maP\  
struts.objectFactory.spring.autoWire 07T;IV3#C5  
      Whether Spring should autoWire or not uDy>xJ|  
      是否自动绑定Spring "a0u-}/D  
~kSnXJv  
struts.objectFactory.spring.useClassCache V(' 'p{  
      Whether Spring should use its class cache or not ig.6[5a\  
      是否spring应该使用自身的cache .^)C:XiW  
+AgkPMy  
struts.objectTypeDeterminer !"Oj$c -  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^?K?\   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2 d>d(^  
ERX|cc  
struts.serve.static.browserCache !5E%W[  
If static content served by the Struts filter should set browser caching header properties or not XW&8T"q7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q[ 9rA  
,/w852|ub  
struts.serve.static [F AOp@7W  
      Whether the Struts filter should serve static content or not lE2wkY9^/  
      是否struts过滤器应该提供静态内容 Oc"'ay(g  
:~0^ib<v;  
struts.tag.altSyntax 9(N)MT5F  
      Whether to use the alterative syntax for the tags or not li 3PR$W V  
      是否可以用替代的语法替代tags v'bd.eqw  
njwR~aL`|  
struts.ui.templateDir  [A%e6  
      The directory containing UI templates O=#/DM;  
      UI templates的目录夹 &, Zz  
-u3SsU)_%N  
struts.ui.theme cDQw`ORP*g  
      The default UI template theme b W C~Hv  
      默认的UI template主题 yqVaA 'w5  
*OGXu07 !  
struts.url.http.port Gwrx) Mq  
      The HTTP port used by Struts URLs  +,F= -  
      设置http端口 ax{-Qi7z-+  
d_W nK{  
struts.url.https.port Wf`Oye Rz  
      The HTTPS port used by Struts URLs LO$#DHPt  
      设置https端口 Q:fUM[  
P^_d$  
struts.url.includeParams Ng_rb KXC#  
      The default includeParams method to generate Struts URLs \}4#**]  
      在url中产生 默认的includeParams 2=/g~rp*  
tO+%b=Z^  
8O.:3%D~ t  
struts.velocity.configfile 21/a3Mlx#  
      The Velocity configuration file path GdfK xSO  
      velocity配置文件路径 'De'(I  
m[xf./@f{  
struts.velocity.contexts P=SxiXsr$  
      List of Velocity context names 9a~BAH,j  
      velocity的context列表 6ImV5^l  
&;@b&p+  
X!M fJ^)q  
struts.velocity.manager.classname Xv5Ev@T  
      org.apache.struts2.views.velocity.VelocityManager implementation class <rwOI.W l$  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;5oH6{7_Z  
dV2b)p4J  
struts.velocity.toolboxlocation EhP&L?EL  
      The location of the Velocity toolbox W-]yKSob  
      velocity工具盒的位置 |E_+*1lq.  
struts.xslt.nocache r/q1&*T  
      Whether or not XSLT templates should not be cached T`'3Cp$q  
      是否XSLT模版应该被缓存 d$?n6|4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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