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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 oFU:]+.+D  
$yASWz  
struts.action.extension Da(k>vR@4  
      The URL extension to use to determine if the request is meant for a Struts action TRm#H $  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZW [&7[4  
&THtQ1D  
struts.configuration .#QE*<T)]  
      The org.apache.struts2.config.Configuration implementation class @A1f#Ed<  
        org.apache.struts2.config.Configuration接口名 $t;:"i>  
Hx gC*-A$/  
struts.configuration.files s6|'s<x"j  
      A list of configuration files automatically loaded by Struts  :RnUNz  
      struts自动加载的一个配置文件列表 {6ZSf[Y6B  
fY00  
struts.configuration.xml.reload Km(i}:6"  
      Whether to reload the XML configuration or not d{7ZO#E  
      是否加载xml配置(true,false) "] V\Y!  
{cs>Sy 4  
struts.continuations.package M~2Us{ `  
      The package containing actions that use Rife continuations kg^0%-F  
      含有actions的完整连续的package名称 S.!,qv z  
.2E/(VM  
struts.custom.i18n.resources NuQ!huh  
      Location of additional localization properties files to load s>J5.Z7"'j  
      加载附加的国际化属性文件(不包含.properties后缀) -MTk9<qnT  
F$a s#.7FF  
struts.custom.properties C.S BJ  
      Location of additional configuration properties files to load MI `qzC*%  
      加载附加的配置文件的位置 zIrOMh  
nc;e NB  
C1D:Xi-  
struts.devMode |jiIx5qr  
      Whether Struts is in development mode or not  rexf#W)  
      是否为struts开发模式 _Xd"'cXw  
(.:*GUg  
struts.dispatcher.parametersWorkaround A]|w1nq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic O-V|=t  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DPT6]pl"y  
sq2:yt  
struts.enable.DynamicMethodInvocation /2Wg=&H  
      Allows one to disable dynamic method invocation from the URL `7=$I~`  
        允许动态方法调用 Am F[#)90P  
vu+g65"  
struts.freemarker.manager.classname <r#FI8P;X  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _2jL]mB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 PB@IPnB-  
Q6HJ+H-Ub  
struts.i18n.encoding N\PdX$  
      The encoding to use for localization messages Ur])*#  
      国际化信息内码 b{<?E };%  
YCDH0M  
struts.i18n.reload SI!A?34  
      Whether the localization messages should automatically be reloaded !.6n=r8 d  
      是否国际化信息自动加载 # sw4)*v  
v.(dOIrX  
struts.locale sE[`x^1'8  
      The default locale for the Struts application a.V5fl0?I@  
      默认的国际化地区信息 CV @P +  
|}4\Gm  
struts.mapper.class 3>h2 W  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M^Sa{S*?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 D}?p>e|<D  
SZKYq8ZA)V  
struts.multipart.maxSize ~, }|~  
      The maximize size of a multipart request (file upload) lbAhP+B  
      multipart请求信息的最大尺寸(文件上传用) Vc9rc}  
%V>%AP  
struts.multipart.parser e-rlk5k%f  
      The org.apache.struts2.dispatcher.multipart. MZV$YD^S  
      MultiPartRequest parser implementation for a multipart request (file upload) x4* bhiu  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) INA3^p'w  
F^.A~{&L  
;stjqTd  
struts.multipart.saveDir hW#^H5?  
      The directory to use for storing uploaded files -P}A26qB  
      设置存储上传文件的目录夹 t5+p]7  
Y1h)aQ5{  
struts.objectFactory a?-&O$UHf\  
      The com.opensymphony.xwork2.ObjectFactory implementation class +*8su5:[&@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) EX8+3>)  
C 7C4 eW8  
struts.objectFactory.spring.autoWire ooVs8T2  
      Whether Spring should autoWire or not 9ngxkOGx  
      是否自动绑定Spring yJI~{VmU7  
3=d%WPgQ  
struts.objectFactory.spring.useClassCache R;!,(l  
      Whether Spring should use its class cache or not !mxH/{+|n  
      是否spring应该使用自身的cache BEOPZ[Q|c  
O^cC+@l!4  
struts.objectTypeDeterminer qnp}#BZ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class n<C] 6H  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ; dzL9P9IU  
KUJLx  
struts.serve.static.browserCache R,BJr y  
If static content served by the Struts filter should set browser caching header properties or not 8%K{lg"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $U_(e:m}f  
(I$%6JO:  
struts.serve.static _Ay^v#a  
      Whether the Struts filter should serve static content or not qSNCBn '  
      是否struts过滤器应该提供静态内容 UQDAql  
o-=|}u]mz  
struts.tag.altSyntax f8;?WSGyD2  
      Whether to use the alterative syntax for the tags or not 8'*x88+  
      是否可以用替代的语法替代tags z,aMbgt  
O(/~cQ  
struts.ui.templateDir }&vD(hX  
      The directory containing UI templates yP{ 52%|+  
      UI templates的目录夹 j,i9,oF6]  
vxZ'-&;t  
struts.ui.theme _RaE: )  
      The default UI template theme ~P'.R.e  
      默认的UI template主题 y^C5_w(^jZ  
(X "J)x aQ  
struts.url.http.port hP)Zm%@0f  
      The HTTP port used by Struts URLs C][$0  
      设置http端口 9qftMDLZJ\  
F%6wdM W  
struts.url.https.port DC h !Z{I  
      The HTTPS port used by Struts URLs 6bPxEILm  
      设置https端口 UDJjw  
ye.6tlW  
struts.url.includeParams oks;G([  
      The default includeParams method to generate Struts URLs @%,~5{Ir  
      在url中产生 默认的includeParams on 7 n4  
I,hw0e  
K%dQ; C*?  
struts.velocity.configfile 5f7id7SI  
      The Velocity configuration file path ^t})T*hM0  
      velocity配置文件路径 Oo :Dt~Ib  
M[`[+5v  
struts.velocity.contexts A&M_ J  
      List of Velocity context names `0qjaC  
      velocity的context列表 A1prYD  
"kP,v&n  
a>OYJe  
struts.velocity.manager.classname W/,bz",v3  
      org.apache.struts2.views.velocity.VelocityManager implementation class xS1|t};  
      org.apache.struts2.views.velocity.VelocityManager接口名 Odo)h  
;0Z-  
struts.velocity.toolboxlocation j1;[6XG  
      The location of the Velocity toolbox qHub+"2  
      velocity工具盒的位置 -*k2:i`  
struts.xslt.nocache AJ}FHym_ZQ  
      Whether or not XSLT templates should not be cached v/ N[)<  
      是否XSLT模版应该被缓存 Ro]Z9C>1o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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