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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 v|z1nD!?]  
)}v2Z3:  
struts.action.extension + u+fEg/A  
      The URL extension to use to determine if the request is meant for a Struts action x(~l[hT  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !{LwX Kf  
PGDlSB^O  
struts.configuration k[m-"I%ZFX  
      The org.apache.struts2.config.Configuration implementation class #Ba'k6b  
        org.apache.struts2.config.Configuration接口名 3@J wL{C  
3WHH3co[  
struts.configuration.files  w4mL/j  
      A list of configuration files automatically loaded by Struts |d8o<Q  
      struts自动加载的一个配置文件列表 vC1 `m  
d+;~x*  
struts.configuration.xml.reload ,`b9c=6;  
      Whether to reload the XML configuration or not #c_ZU\" h"  
      是否加载xml配置(true,false) ,\b5M`<c  
.#}R$}e+  
struts.continuations.package V7<} ;Lzm  
      The package containing actions that use Rife continuations 7y&`H  
      含有actions的完整连续的package名称 %,BJkNV  
t/ w>t! q  
struts.custom.i18n.resources :#vrNg(M  
      Location of additional localization properties files to load ;8UHPDnst  
      加载附加的国际化属性文件(不包含.properties后缀) jw)t"S/E  
>?tpGEZ\  
struts.custom.properties inPGWG K]  
      Location of additional configuration properties files to load UF tTt`N2  
      加载附加的配置文件的位置 XR(kR{yo  
t1S\M%?  
SV >EB;<  
struts.devMode n@f@-d$m\<  
      Whether Struts is in development mode or not RY&~{yl$"1  
      是否为struts开发模式 5{UGSz 1  
GzX@Av$  
struts.dispatcher.parametersWorkaround ]2+(i  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic O #"O.GX<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $oz ZFvJF  
3$TpI5A  
struts.enable.DynamicMethodInvocation L '=3y$"],  
      Allows one to disable dynamic method invocation from the URL |ONOF  
        允许动态方法调用 }N NyUwFa  
Cb<\  
struts.freemarker.manager.classname F/h)azcn  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z q)A"'Y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Bs*s8}6  
8in8_/x  
struts.i18n.encoding rQF%;  
      The encoding to use for localization messages :HC{6W`$  
      国际化信息内码 q :gH`5N  
` $}[np |  
struts.i18n.reload '"6VfF)*  
      Whether the localization messages should automatically be reloaded ^B<jMt  
      是否国际化信息自动加载 c8'?Dd  
;XjKWM;  
struts.locale TSeAC[%pL  
      The default locale for the Struts application 3't?%$'5  
      默认的国际化地区信息 IlY,V  
G7u85cie  
struts.mapper.class h4U .wk  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hM-qC|!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 v?}/WKe+0  
&Ef'5  
struts.multipart.maxSize \|kU{d0  
      The maximize size of a multipart request (file upload) ry:tL0;;e#  
      multipart请求信息的最大尺寸(文件上传用) 2ma.zI@^u9  
/dIiFr"e}G  
struts.multipart.parser "qF8'58  
      The org.apache.struts2.dispatcher.multipart. n']@Spm  
      MultiPartRequest parser implementation for a multipart request (file upload) ,+XQ!y%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vjWS35i  
XS>4efCJ  
J?{uG8)  
struts.multipart.saveDir ?U&onGy  
      The directory to use for storing uploaded files mY-r:  
      设置存储上传文件的目录夹 l`d=sOB^  
umc!KOkL  
struts.objectFactory 4JucNGv  
      The com.opensymphony.xwork2.ObjectFactory implementation class /%~`B[4F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) FYzl-7!Y  
% nR:Rc!  
struts.objectFactory.spring.autoWire eb7`R81G  
      Whether Spring should autoWire or not <I7UyCAF  
      是否自动绑定Spring & )Z JT.S  
P;h/)-q8  
struts.objectFactory.spring.useClassCache !9-dS=:Y  
      Whether Spring should use its class cache or not L_/.b%0)  
      是否spring应该使用自身的cache Mb-C DPT  
Upf1*$p  
struts.objectTypeDeterminer 3N?uY2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #+XKfumLk  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f"/NY6  
I;=}@]9  
struts.serve.static.browserCache p0b&CrALx  
If static content served by the Struts filter should set browser caching header properties or not $uboOfS83G  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7#Mi`W  
]itvu:pl%  
struts.serve.static UJO+7h'  
      Whether the Struts filter should serve static content or not @>da%cX  
      是否struts过滤器应该提供静态内容 k(et b#  
!r$/-8b  
struts.tag.altSyntax oo`mVRVf  
      Whether to use the alterative syntax for the tags or not R5Ti|k.~Y"  
      是否可以用替代的语法替代tags KY@k4S+  
o4d>c{p  
struts.ui.templateDir )x]/b=m  
      The directory containing UI templates WFTTBUoH  
      UI templates的目录夹 <[(xGrEZV  
)U5AnL  
struts.ui.theme Dp>/lkk.  
      The default UI template theme U<Ag=vsZE  
      默认的UI template主题 V;.=O}Lr  
/6g*WX2P1  
struts.url.http.port 5<9}{X+@o  
      The HTTP port used by Struts URLs ?'^xO:  
      设置http端口 7&2xUcsz)  
Dzb@H$BQ7  
struts.url.https.port S);bcowf_  
      The HTTPS port used by Struts URLs > QCVsX>~  
      设置https端口 4W6gKY  
:[! rj  
struts.url.includeParams r"^P>8  
      The default includeParams method to generate Struts URLs i9$ -lk  
      在url中产生 默认的includeParams B \BP:;"  
yYF%U7N/n  
I~EJctOG  
struts.velocity.configfile "H6DiPh.E  
      The Velocity configuration file path .F |yxj;I7  
      velocity配置文件路径 L ej3? k  
sOv:/'  
struts.velocity.contexts %<P&"[F]v@  
      List of Velocity context names ^dRB(E}|)  
      velocity的context列表 ~r+;i,,X  
kz]qk15w  
%-> X$,Q :  
struts.velocity.manager.classname A=>%KQc?  
      org.apache.struts2.views.velocity.VelocityManager implementation class iWO16=  
      org.apache.struts2.views.velocity.VelocityManager接口名 k]w;(<  
8H;yrNL  
struts.velocity.toolboxlocation tK1P7pbC8r  
      The location of the Velocity toolbox E<Efxb' p  
      velocity工具盒的位置 YDO#Q= q%  
struts.xslt.nocache WUZusW5s  
      Whether or not XSLT templates should not be cached bDRl}^aO6  
      是否XSLT模版应该被缓存 4; y*y tY*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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