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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 a8D7n Ea  
=lB +GS%  
struts.action.extension '3BBTr%aZ  
      The URL extension to use to determine if the request is meant for a Struts action 7Gwn,&)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 HSXv_  
"DN0|%`M/  
struts.configuration SlU?,)J}  
      The org.apache.struts2.config.Configuration implementation class muh[wo  
        org.apache.struts2.config.Configuration接口名 = <yMB d\  
ENZjRf4  
struts.configuration.files -|K^!G  
      A list of configuration files automatically loaded by Struts ~ _ ogeD  
      struts自动加载的一个配置文件列表 2/XrorV  
b 6kDkE  
struts.configuration.xml.reload bSa%?laS  
      Whether to reload the XML configuration or not } Xbmb8  
      是否加载xml配置(true,false) %r E:5)  
tuT>,BbR  
struts.continuations.package LxdF;JCz:  
      The package containing actions that use Rife continuations Y~E 8z  
      含有actions的完整连续的package名称 WC& V9Yk  
<{ZDD]UGs0  
struts.custom.i18n.resources 'e&L53n  
      Location of additional localization properties files to load p.wed% O.  
      加载附加的国际化属性文件(不包含.properties后缀) @c;XwU]2t  
0m2%ucKw  
struts.custom.properties {5 V@O_*{  
      Location of additional configuration properties files to load b/[$bZD5o  
      加载附加的配置文件的位置 v2w|?26Lf  
O0Z !*Hy  
`O+}$wP  
struts.devMode =Msr+P9Ai  
      Whether Struts is in development mode or not F,dPmR  
      是否为struts开发模式 &`@S_YLr  
{lam],#r  
struts.dispatcher.parametersWorkaround :.DZ~I  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >m:;. vVY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xDqJsp=]-  
M `O=rH }  
struts.enable.DynamicMethodInvocation qLjLfJJ2  
      Allows one to disable dynamic method invocation from the URL t=l@(%O 0_  
        允许动态方法调用 U/}("i![Dy  
V ,+&.A23  
struts.freemarker.manager.classname >H r&F nh+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~ 3!yd0 [k  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @\*`rl]  
S_eD1iY2-  
struts.i18n.encoding PJfADB7Y  
      The encoding to use for localization messages d/"%fpp^0G  
      国际化信息内码 7sX#6`t  
CMhl*dH  
struts.i18n.reload *A&A V||q  
      Whether the localization messages should automatically be reloaded PF+F^;C  
      是否国际化信息自动加载 @23?II$=@  
"?*B2*|}`  
struts.locale ,=a+;D]'  
      The default locale for the Struts application ?4`f@=}'K  
      默认的国际化地区信息 $)YalZ  
nyoLrTs{  
struts.mapper.class at|.Q*&a#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class } yb"/jp  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (G6lr%d  
X-4(oE  
struts.multipart.maxSize ] /"!J6(e  
      The maximize size of a multipart request (file upload) *P01 yW0  
      multipart请求信息的最大尺寸(文件上传用) /wi*OZ7R  
!We9T)e  
struts.multipart.parser *w#^`yeo  
      The org.apache.struts2.dispatcher.multipart. QbJE+m5  
      MultiPartRequest parser implementation for a multipart request (file upload) >sm~te$5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R+*-i+]Q#7  
g+j\wvx0  
S4S}go*G[  
struts.multipart.saveDir r@t \a+  
      The directory to use for storing uploaded files 2tw3 =)  
      设置存储上传文件的目录夹 9]L4`.HM  
\? n<UsI  
struts.objectFactory <@S'vcO  
      The com.opensymphony.xwork2.ObjectFactory implementation class )H1\4LeP  
      com.opensymphony.xwork2.ObjectFactory接口(spring) rff_=(?i  
:Z[|B(U  
struts.objectFactory.spring.autoWire aCRiW;+'  
      Whether Spring should autoWire or not Mdw"^x$7  
      是否自动绑定Spring ~hxW3e  
SgWLs%B  
struts.objectFactory.spring.useClassCache x%yzhIRR  
      Whether Spring should use its class cache or not xeB-fy)5+  
      是否spring应该使用自身的cache Z!+n/ D-1  
5_\1f|,  
struts.objectTypeDeterminer %ONU0xtqk  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J4]tT pu"K  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s?JOGu  
L9]y~[R:  
struts.serve.static.browserCache %N #A1   
If static content served by the Struts filter should set browser caching header properties or not 1f+z[ad&^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :IX_|8e ^  
ms&6N']  
struts.serve.static r0Zj'F_e  
      Whether the Struts filter should serve static content or not tXCgRU  
      是否struts过滤器应该提供静态内容 %oOSmt  
v t_lM  
struts.tag.altSyntax P67*-Ki  
      Whether to use the alterative syntax for the tags or not I]z4}#+cX  
      是否可以用替代的语法替代tags hg7_ZjO  
B)x^S >  
struts.ui.templateDir e +Ikw1y"f  
      The directory containing UI templates *x/H   
      UI templates的目录夹 b:PzqMh{G  
}U^iVq*  
struts.ui.theme Xf;_r+;  
      The default UI template theme V 7oE\cxr  
      默认的UI template主题 ]pWn%aGv*Y  
vX?C9Fr2  
struts.url.http.port 2"QcjFW%  
      The HTTP port used by Struts URLs }vb.>hy  
      设置http端口 P\y ZcL  
%0zp`'3Y  
struts.url.https.port mKLWz1GZ  
      The HTTPS port used by Struts URLs cte Wl/v  
      设置https端口 % kaV ?j  
+3k.xP?QS  
struts.url.includeParams k5|GN Y6a  
      The default includeParams method to generate Struts URLs uO((Mg  
      在url中产生 默认的includeParams D/ tCB-+  
G|I}x/X"Q7  
z.!u<hy(  
struts.velocity.configfile b5#Jo2C`AJ  
      The Velocity configuration file path lot;d3}  
      velocity配置文件路径 )43z(:<  
3F8K F`*  
struts.velocity.contexts k]9y+WC2  
      List of Velocity context names ?@^gpVK{  
      velocity的context列表 k*r G^imX  
gL &)l!2Y  
b%h.>ij?  
struts.velocity.manager.classname Us\Nmso z  
      org.apache.struts2.views.velocity.VelocityManager implementation class q26 qY5D  
      org.apache.struts2.views.velocity.VelocityManager接口名 vW0U~(XlN  
kZ0z]Y  
struts.velocity.toolboxlocation JkEITuTth  
      The location of the Velocity toolbox sD9OV6^{?K  
      velocity工具盒的位置 g^{a;=  
struts.xslt.nocache VFK]{!C_  
      Whether or not XSLT templates should not be cached jFl!<ooCo  
      是否XSLT模版应该被缓存 T3Sz<K$E  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八