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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %u!b& 5]e  
WU)Ss`s \  
struts.action.extension gKi{Y1  
      The URL extension to use to determine if the request is meant for a Struts action HID([Wk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NBOCt)C;H  
r4Q|5kT*i  
struts.configuration S|AjL Ng#  
      The org.apache.struts2.config.Configuration implementation class O|'1B>X  
        org.apache.struts2.config.Configuration接口名 }r3~rG<D71  
U>Gg0`>  
struts.configuration.files !20X sO  
      A list of configuration files automatically loaded by Struts Bp_wnd  
      struts自动加载的一个配置文件列表 ?obm7<  
G5Ykbw#  
struts.configuration.xml.reload +@:L|uFU  
      Whether to reload the XML configuration or not OfZN|S+~W  
      是否加载xml配置(true,false) -6C +LbV  
*9 D!A  
struts.continuations.package N`$!p9r  
      The package containing actions that use Rife continuations q>s`uFRg(  
      含有actions的完整连续的package名称 ,:GN;sIXg  
*y]+dK&-  
struts.custom.i18n.resources LW:1/w&pv  
      Location of additional localization properties files to load #/70!+J_UF  
      加载附加的国际化属性文件(不包含.properties后缀) "pvH0"Q*  
#g9ZX16}  
struts.custom.properties OZ(dpV9.S  
      Location of additional configuration properties files to load @R q}nq=k  
      加载附加的配置文件的位置 ]?K. S6  
|"Z{I3Umg  
<+tD z(  
struts.devMode Adx`8}N8  
      Whether Struts is in development mode or not X.V[0$.;  
      是否为struts开发模式 L:R<e#kgS  
\#Up|u:  
struts.dispatcher.parametersWorkaround ]Kh2;>= Xj  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8Vn4.R[vE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7o]HQ[xO  
(S /F)?  
struts.enable.DynamicMethodInvocation 'jfRt-_-  
      Allows one to disable dynamic method invocation from the URL j-b*C2l  
        允许动态方法调用 ^%<pJMgdF  
K7(MD1tk  
struts.freemarker.manager.classname o\=n4;S  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class r'4:)~]s  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 eJ@~o{,?>  
GbZ;#^S  
struts.i18n.encoding zT9JBMNE:  
      The encoding to use for localization messages j*R,m1e8  
      国际化信息内码 "484 n/D  
1hmc,c  
struts.i18n.reload Xm!-~n@-m7  
      Whether the localization messages should automatically be reloaded egR-w[{  
      是否国际化信息自动加载 QlZ@ To  
^ c%N/V \  
struts.locale {D`T0qPT[  
      The default locale for the Struts application osP\D iQ  
      默认的国际化地区信息 $l[Rh1z`;+  
H9 tXSh  
struts.mapper.class A\sI<WrH  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1vevEa$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ULqoCd%bK  
=xN= #  
struts.multipart.maxSize {2KFD\i\  
      The maximize size of a multipart request (file upload) %D=]ZV](  
      multipart请求信息的最大尺寸(文件上传用)  zGlZ!t:  
L}k/9F.5  
struts.multipart.parser K_&MoyJJ9f  
      The org.apache.struts2.dispatcher.multipart. pdVQ*=c?M  
      MultiPartRequest parser implementation for a multipart request (file upload) 3Ofc\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) m`A% p  
&#w=7L3AW  
E-2 eOT  
struts.multipart.saveDir @{HrJ/4%:&  
      The directory to use for storing uploaded files aUopNmN  
      设置存储上传文件的目录夹 +9A\HQ|22  
obH; g*  
struts.objectFactory CI7A# 6-  
      The com.opensymphony.xwork2.ObjectFactory implementation class aaW]J mRb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~$,qgf  
=H`Q~ Xx  
struts.objectFactory.spring.autoWire ml!5:r>  
      Whether Spring should autoWire or not dA~ 3>f*b_  
      是否自动绑定Spring 5K%W a]W  
~Ci{3j :]  
struts.objectFactory.spring.useClassCache ^+|De}`u  
      Whether Spring should use its class cache or not | A)\ :  
      是否spring应该使用自身的cache b^CNVdo'  
8p^B hd  
struts.objectTypeDeterminer  H`QQG!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D-p.kA3MJ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5Rv+zQ#GR  
N"7]R[*  
struts.serve.static.browserCache t0E51Ic@  
If static content served by the Struts filter should set browser caching header properties or not B4H!5b  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g_.^O$}  
m_NCx]#e   
struts.serve.static EG<s_d?  
      Whether the Struts filter should serve static content or not 8At<Wic  
      是否struts过滤器应该提供静态内容 ['qnn|  
8{ c!).  
struts.tag.altSyntax [:EvTY  
      Whether to use the alterative syntax for the tags or not ] ZoPQUS?  
      是否可以用替代的语法替代tags pox, Im  
R{hf9R,  
struts.ui.templateDir eVh - _  
      The directory containing UI templates Sus;(3EX  
      UI templates的目录夹 aAt>QxGQW  
qL /7^) (  
struts.ui.theme `)$_YZq|SR  
      The default UI template theme VR? ^HA9  
      默认的UI template主题 e]8,:Gd(  
Am4lEvb  
struts.url.http.port $&I 'o  
      The HTTP port used by Struts URLs 5g5'@vMN  
      设置http端口 fz_nsVD  
 ZI>km?w  
struts.url.https.port v $({C  
      The HTTPS port used by Struts URLs KA s1(oG  
      设置https端口 afG{lWE)  
[\z/Lbn ,.  
struts.url.includeParams fPa9ofU/kr  
      The default includeParams method to generate Struts URLs $4=f+ "z  
      在url中产生 默认的includeParams RVw9Y*]b  
4Ft1@  
, \)a_@@k  
struts.velocity.configfile +>f<EPGn  
      The Velocity configuration file path Q 9F)  
      velocity配置文件路径 W&Y"K)`  
VyLH"cCv  
struts.velocity.contexts (=x"Y{%  
      List of Velocity context names D@ek9ARAq  
      velocity的context列表 I27,mS+]  
#o`Ny4sq/  
` |Z}2vo;j  
struts.velocity.manager.classname +a@GHx 4-  
      org.apache.struts2.views.velocity.VelocityManager implementation class <[ Xw)/#  
      org.apache.struts2.views.velocity.VelocityManager接口名 giY80!GX  
}ut]\]b  
struts.velocity.toolboxlocation <U Zd;e@  
      The location of the Velocity toolbox 7L5P%zLtB  
      velocity工具盒的位置 D=f7NVc>Q  
struts.xslt.nocache : esg(  
      Whether or not XSLT templates should not be cached z,SYw &S  
      是否XSLT模版应该被缓存 Y$>-%KcKeI  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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