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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 knK=ENf;e  
(B/F6 X;o.  
struts.action.extension %"KWjwp  
      The URL extension to use to determine if the request is meant for a Struts action ]MA)=' ~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z#E,96R  
em9]WSfZ@`  
struts.configuration C^42=?  
      The org.apache.struts2.config.Configuration implementation class (b 2^d  
        org.apache.struts2.config.Configuration接口名 VU'l~%ql  
k&"qdB(I  
struts.configuration.files . ;@) 5"  
      A list of configuration files automatically loaded by Struts fm:{&(  
      struts自动加载的一个配置文件列表 6exlb:  
uy-Ncy  
struts.configuration.xml.reload O>F.Wf5g  
      Whether to reload the XML configuration or not |b;M5w?  
      是否加载xml配置(true,false) z` ?xS  
6=lQT 9u{  
struts.continuations.package .6/p4OR|  
      The package containing actions that use Rife continuations b!HFv;^N  
      含有actions的完整连续的package名称 z4fK{S  
7<Js'\Z  
struts.custom.i18n.resources Pk]9.e1_  
      Location of additional localization properties files to load !<PTsk F  
      加载附加的国际化属性文件(不包含.properties后缀) ~t3?er& R  
!skWe~/  
struts.custom.properties ^t%M   
      Location of additional configuration properties files to load g(r'Y#U  
      加载附加的配置文件的位置 \*"0wR;[K  
KIY_EE$?  
I%|s  
struts.devMode z}N^`_ *  
      Whether Struts is in development mode or not |w]i$`3'I  
      是否为struts开发模式 1;[ <||K  
VzM@DM]=~  
struts.dispatcher.parametersWorkaround ] "vdC}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g#3x)97Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^a5~FI:  
cW/~4.v$  
struts.enable.DynamicMethodInvocation CMjPp`rA  
      Allows one to disable dynamic method invocation from the URL ywtDz8!^u  
        允许动态方法调用 oqo8{hrdHk  
= |zLr"  
struts.freemarker.manager.classname W]7?;#Hpk  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g8@HAV^H  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 {73DnC~N  
2p.+C35c=j  
struts.i18n.encoding 8(K~QvE~  
      The encoding to use for localization messages r~a}B.pj  
      国际化信息内码 Qnc S&  
T js{ )r9  
struts.i18n.reload SygsZv&LZ  
      Whether the localization messages should automatically be reloaded ~2 ;y4%K  
      是否国际化信息自动加载 [o6<aE-  
hrxASAfg6  
struts.locale udr'~,R  
      The default locale for the Struts application <"9Z7" >  
      默认的国际化地区信息 kQcQi}e  
\05C'z3]  
struts.mapper.class KDzIarC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N.J:Qn`(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [qo* ,CRz  
$>`8'I  
struts.multipart.maxSize p`C5jfI  
      The maximize size of a multipart request (file upload) Q'LU?>N)/  
      multipart请求信息的最大尺寸(文件上传用) yZ6X$I:C  
I*t}gvUt9  
struts.multipart.parser s @9#hjv2  
      The org.apache.struts2.dispatcher.multipart. [#V! XdQ,  
      MultiPartRequest parser implementation for a multipart request (file upload) oOvbel`;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \8H"lcj:  
oOw"k*,h:S  
^ `9OA`2  
struts.multipart.saveDir g M.(BN  
      The directory to use for storing uploaded files iE{SqX  
      设置存储上传文件的目录夹 eLWzd_ln  
![Y$[l  
struts.objectFactory ijT^gsLL  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?/g(Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q9Wtu7/  
tp0*W _<4  
struts.objectFactory.spring.autoWire =Ih_[$1dw  
      Whether Spring should autoWire or not oWT0WS  
      是否自动绑定Spring GR9F^Y)K{  
0_)\e  
struts.objectFactory.spring.useClassCache NIGFu{S  
      Whether Spring should use its class cache or not Q0A1N[  
      是否spring应该使用自身的cache 7hQl,v< 5  
awtzt?VtLh  
struts.objectTypeDeterminer 6&cU*Io@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \^D`Hvg  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o qTh )  
q2Dg~et  
struts.serve.static.browserCache GH!#"Sl8Z  
If static content served by the Struts filter should set browser caching header properties or not -. G0k*[d  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (["u"m%  
uhLW/?q.  
struts.serve.static g [K8G  
      Whether the Struts filter should serve static content or not EJsb{$u  
      是否struts过滤器应该提供静态内容 ""=Vt]  
 #Ki@=*  
struts.tag.altSyntax fNumY|%3  
      Whether to use the alterative syntax for the tags or not MDZb|1.AT  
      是否可以用替代的语法替代tags MiI7s ;  
UHwrssX&3  
struts.ui.templateDir ?2a gU  
      The directory containing UI templates C$ 5x*`y  
      UI templates的目录夹 ^YV[1~O  
< XU]%}o  
struts.ui.theme "O{sdVS  
      The default UI template theme <7+.5iB3  
      默认的UI template主题 e wR0e.g  
bL<cg tz7)  
struts.url.http.port [DviN  
      The HTTP port used by Struts URLs w ;O '6"  
      设置http端口 a'r\e2/e?H  
2TO1i0  
struts.url.https.port b(F`$N@7C  
      The HTTPS port used by Struts URLs 0!T $Ef   
      设置https端口 :/08}!_:  
"@_f>3z  
struts.url.includeParams ?uLqB@!2  
      The default includeParams method to generate Struts URLs v,! u{QP  
      在url中产生 默认的includeParams iW)Ou?aS  
z'o+3 zq^  
O@VmV>m  
struts.velocity.configfile Ki2_Nh>tM  
      The Velocity configuration file path j yE+?4w;  
      velocity配置文件路径 ]v@,>!Wn  
CEiG jo^  
struts.velocity.contexts f3O'lc3  
      List of Velocity context names }OZfsYPz}T  
      velocity的context列表 d p].FS  
qp8;=Nfa  
+a{>jzR  
struts.velocity.manager.classname 3zkq'lZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2P*O^-zRp  
      org.apache.struts2.views.velocity.VelocityManager接口名  }#1g;  
i@6 kI C  
struts.velocity.toolboxlocation ;3_'{  
      The location of the Velocity toolbox "lm3o(Dk  
      velocity工具盒的位置 -ydT%x  
struts.xslt.nocache u=5^xpI<D  
      Whether or not XSLT templates should not be cached DBRTZES  
      是否XSLT模版应该被缓存 4 0eNgm^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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