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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 o=J-Ju  
d^MRu#]  
struts.action.extension YLJ^R$pi  
      The URL extension to use to determine if the request is meant for a Struts action ckGmwYP9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ttOk6-  
~(nc<M[  
struts.configuration 76H>ST@G|  
      The org.apache.struts2.config.Configuration implementation class >Q $ph=  
        org.apache.struts2.config.Configuration接口名 |;:g7eb  
V56WgOBxz  
struts.configuration.files ls7eypKR  
      A list of configuration files automatically loaded by Struts JTIt!E}P  
      struts自动加载的一个配置文件列表 V6Mt;e)C  
3P@D!lV&K  
struts.configuration.xml.reload Jvc:)I1NE7  
      Whether to reload the XML configuration or not  bTU[E  
      是否加载xml配置(true,false) <Pzy'9  
Lq|>n Y  
struts.continuations.package  J3`0i@  
      The package containing actions that use Rife continuations :of(wZa3Q  
      含有actions的完整连续的package名称 Hz\@#   
m/z,MT74*J  
struts.custom.i18n.resources w 5 yOSz  
      Location of additional localization properties files to load Nv=78O1  
      加载附加的国际化属性文件(不包含.properties后缀) &1(- 8z*  
U0gZf5;*  
struts.custom.properties #u}%r{T  
      Location of additional configuration properties files to load t0+i ]lr  
      加载附加的配置文件的位置 SQ_Je+X  
Q$uv \h;  
fIl;qGz85  
struts.devMode WQ{[q" O  
      Whether Struts is in development mode or not w A\5-C7 j  
      是否为struts开发模式 z/u^  
{`QA.he.  
struts.dispatcher.parametersWorkaround W1 k]P.  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )adV`V%=>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q`,%L1c4  
[Ur\^wS  
struts.enable.DynamicMethodInvocation nl qn:[BU  
      Allows one to disable dynamic method invocation from the URL x-"8V(  
        允许动态方法调用  g5 T  
0z'GN#mT5  
struts.freemarker.manager.classname (`S^6 -^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ia7<AwV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m8ts!6C  
vfc:ok1  
struts.i18n.encoding s3HVX'   
      The encoding to use for localization messages ;-6-DEL  
      国际化信息内码 |GtvgvO,  
V(_1q  
struts.i18n.reload B*N1)J\5  
      Whether the localization messages should automatically be reloaded (J[Xryub  
      是否国际化信息自动加载 lDTHK2f  
J91[w?,  
struts.locale ,Cb3R|L8  
      The default locale for the Struts application B2e"   
      默认的国际化地区信息 /TyGZ@S>m  
d{"-iw)t  
struts.mapper.class ]I[~0PCSX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class HcgvlFb  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 TjyL])$  
"|h%Uy?XY  
struts.multipart.maxSize - 8p!,+Dk  
      The maximize size of a multipart request (file upload) nq)F$@  
      multipart请求信息的最大尺寸(文件上传用) z@yTkH_  
G@.MP| 2  
struts.multipart.parser x2rAB5r6  
      The org.apache.struts2.dispatcher.multipart. #L~i|(=U5  
      MultiPartRequest parser implementation for a multipart request (file upload) &)Xc'RQ.C  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) IdQ./@?  
X/yq<_ g  
b~J)LXj]w  
struts.multipart.saveDir 1~*1W4};F8  
      The directory to use for storing uploaded files fes s6=k  
      设置存储上传文件的目录夹 b, Oh8O;>  
N7?B"p/  
struts.objectFactory H5T_i$W  
      The com.opensymphony.xwork2.ObjectFactory implementation class j-":>}oW2.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yd).}@  
hW~.F  
struts.objectFactory.spring.autoWire 8.i4QaU  
      Whether Spring should autoWire or not uMJ \  
      是否自动绑定Spring /]_t->  
Ot2o=^Ng  
struts.objectFactory.spring.useClassCache } o%^ Mu B  
      Whether Spring should use its class cache or not  Y !?'[t  
      是否spring应该使用自身的cache W6&vyOc  
G3~`]qf  
struts.objectTypeDeterminer [ QiG0D_'=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class b6bs .  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 yOq@w!xz  
wT4@X[5$  
struts.serve.static.browserCache E5w;75,  
If static content served by the Struts filter should set browser caching header properties or not m1l6QcT1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y()" 2CCV  
Nc;O)K!FH  
struts.serve.static 8R,<S-+v  
      Whether the Struts filter should serve static content or not p49]{2GXb  
      是否struts过滤器应该提供静态内容 =V[uXm  
K:wI'N"N  
struts.tag.altSyntax Jsz!ro  
      Whether to use the alterative syntax for the tags or not xT%`"eM}  
      是否可以用替代的语法替代tags n t}7|h|  
p;O%W@n"  
struts.ui.templateDir UFG_ZoD+  
      The directory containing UI templates uu9M}]mDl  
      UI templates的目录夹 Ao\xse{E  
" 8xAe0-4  
struts.ui.theme JE=t e(a  
      The default UI template theme X\AH^I6S  
      默认的UI template主题 G0E5Y;YIN$  
xu2 KEwgb  
struts.url.http.port S/nPK,^d2  
      The HTTP port used by Struts URLs qCV<-o  
      设置http端口 |' Fe?~P`  
S#7YJ7 K"N  
struts.url.https.port MUO<o  
      The HTTPS port used by Struts URLs ^"WV E["  
      设置https端口 0!T`.UMI  
eTiTS*`u  
struts.url.includeParams [3 Pp NCY  
      The default includeParams method to generate Struts URLs [nTI\17iA  
      在url中产生 默认的includeParams $ik*!om5  
P {TJ$  
cHs3:F~~  
struts.velocity.configfile /Mqhx_)>A  
      The Velocity configuration file path `(e :H  
      velocity配置文件路径 K^Awf6%  
0l!#u`cCI  
struts.velocity.contexts Cn{Hk)6  
      List of Velocity context names '5e,@t%y  
      velocity的context列表 c3$T3Lu1  
C=: <[_m`  
VdLoi\-/L  
struts.velocity.manager.classname %rzPh<>e  
      org.apache.struts2.views.velocity.VelocityManager implementation class "Ms;sdjg}&  
      org.apache.struts2.views.velocity.VelocityManager接口名 W>K^55'  
XKoY!Y\  
struts.velocity.toolboxlocation " kDiK`i  
      The location of the Velocity toolbox J2YQdCL  
      velocity工具盒的位置 jD: N)((  
struts.xslt.nocache %;PpwI  
      Whether or not XSLT templates should not be cached Q7 BbST+  
      是否XSLT模版应该被缓存 fB+L%+mr8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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