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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 '@~\(SH  
F+%6?2 J  
struts.action.extension j c%  
      The URL extension to use to determine if the request is meant for a Struts action %9bf^LyD  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $~$NQe!/  
0l.\KF  
struts.configuration 3>Ne_kY  
      The org.apache.struts2.config.Configuration implementation class 5somoV B  
        org.apache.struts2.config.Configuration接口名 BZ2frG\0&I  
PubO|Mf  
struts.configuration.files J|$(O$hYy  
      A list of configuration files automatically loaded by Struts jv8diQ.  
      struts自动加载的一个配置文件列表 /UwB6s(  
L?aaR %6#  
struts.configuration.xml.reload >bgx o<  
      Whether to reload the XML configuration or not n'WhCrW  
      是否加载xml配置(true,false) s{QS2G$5  
mpsi{%gA  
struts.continuations.package W~EDLLZ  
      The package containing actions that use Rife continuations \J]qd4tF  
      含有actions的完整连续的package名称 uA`EJ )d  
{*#}"/:8K  
struts.custom.i18n.resources k15fy"+Ut  
      Location of additional localization properties files to load Ptj,9bf<\  
      加载附加的国际化属性文件(不包含.properties后缀) WF'Di4   
z}772hMB  
struts.custom.properties WTlR>|Zdn  
      Location of additional configuration properties files to load "Uk "  
      加载附加的配置文件的位置 ]]R!MnU:$  
>~+'V.CNW  
=N,ahq  
struts.devMode J83{&N2u  
      Whether Struts is in development mode or not y<r@zb9  
      是否为struts开发模式 [/P}1 c[)U  
ap 5D6y+  
struts.dispatcher.parametersWorkaround 0$saDmED  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ym]Dlz,o  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mVSaC  
|._9;T-Yde  
struts.enable.DynamicMethodInvocation oBBL7/L  
      Allows one to disable dynamic method invocation from the URL W*S !}ZT`  
        允许动态方法调用 8!{;yz  
kdr?I9kwW  
struts.freemarker.manager.classname 1\hh,s  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E/<5JhI9~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [@"7qKd1  
@)R6!"p  
struts.i18n.encoding bwr}Ge  
      The encoding to use for localization messages r[u@ [  
      国际化信息内码 S yf0dp3  
xJ0Q8A  
struts.i18n.reload UNoNsmP  
      Whether the localization messages should automatically be reloaded ~qjnV  
      是否国际化信息自动加载 Ts~MkO  
J2va Kl  
struts.locale BAJEn6f?  
      The default locale for the Struts application T+$Af,~  
      默认的国际化地区信息 AV t(e6H  
[~%\:of70n  
struts.mapper.class JQ[~N-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class xs'vd:l.Pp  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 MDyPwv\  
T({]fc!c  
struts.multipart.maxSize &*w)/W  
      The maximize size of a multipart request (file upload) NHL -ll-R  
      multipart请求信息的最大尺寸(文件上传用)  e>FK5rz  
yv2&K=rZp  
struts.multipart.parser n)~9  
      The org.apache.struts2.dispatcher.multipart. 2V-zmyJs5  
      MultiPartRequest parser implementation for a multipart request (file upload) ,j'>}'wG)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `.0WK  
K~U5jp c  
0/vmj,&B(  
struts.multipart.saveDir DbL=2  
      The directory to use for storing uploaded files McXid~  
      设置存储上传文件的目录夹 B\tP{}P8{  
e2P ds`  
struts.objectFactory pOe"S  
      The com.opensymphony.xwork2.ObjectFactory implementation class nw)yK%`;M  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ['G@`e*\  
(,i&pgVZ  
struts.objectFactory.spring.autoWire $_u9Y!  
      Whether Spring should autoWire or not ,g"[7Za  
      是否自动绑定Spring O.9r'n4f  
e*zt;SR  
struts.objectFactory.spring.useClassCache q@"0(Oj  
      Whether Spring should use its class cache or not nWyn}+C-  
      是否spring应该使用自身的cache b!pG&7P  
t/3t69\x  
struts.objectTypeDeterminer {dbPMx  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^xpiNP!?a  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h VQj$TA  
Hp@nxtKxW  
struts.serve.static.browserCache pKxq\U  
If static content served by the Struts filter should set browser caching header properties or not 7FTf8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [Ju5O[o  
0fpxr`  
struts.serve.static LzS)WjEN  
      Whether the Struts filter should serve static content or not |#)S`Ua1  
      是否struts过滤器应该提供静态内容 @_+B'<2  
$4&%<'l3I  
struts.tag.altSyntax +@ j@#~=K  
      Whether to use the alterative syntax for the tags or not g~A~|di|  
      是否可以用替代的语法替代tags $N[R99*x8  
.[qm>j,  
struts.ui.templateDir zj+.MG04  
      The directory containing UI templates 15 /lX  
      UI templates的目录夹 Hl3%+f  
\MY`R  
struts.ui.theme P>i!f!o*I  
      The default UI template theme j\uh]8N3<  
      默认的UI template主题 _T{ "F  
&azy1.i~  
struts.url.http.port Z<Pf[C  
      The HTTP port used by Struts URLs >[D(<b(U&  
      设置http端口 whoQA}X>  
k^Gf2%k  
struts.url.https.port '&OJ hLE  
      The HTTPS port used by Struts URLs FthrI  
      设置https端口 |@+/R .l  
DC-tBbQkk  
struts.url.includeParams XuY#EJbZ  
      The default includeParams method to generate Struts URLs >,&@j,?']  
      在url中产生 默认的includeParams 8vK$]e36  
^qro0]"LD  
Sp2<rI  
struts.velocity.configfile ,8Yc@P_O  
      The Velocity configuration file path 3utv  
      velocity配置文件路径 nc.(bb),  
YIc|0[ ]*|  
struts.velocity.contexts 5r-OE-U{  
      List of Velocity context names cu~\&3 R  
      velocity的context列表 bh~"LQS1  
,*r}23  
QR#L1+Hn  
struts.velocity.manager.classname )v+R+3<  
      org.apache.struts2.views.velocity.VelocityManager implementation class \a}_=O  
      org.apache.struts2.views.velocity.VelocityManager接口名 kW!`vQm~  
L  (#DVF  
struts.velocity.toolboxlocation BS@x&DB  
      The location of the Velocity toolbox T0Kjnzs  
      velocity工具盒的位置 dP7nR1GS  
struts.xslt.nocache r) SG!;X  
      Whether or not XSLT templates should not be cached \uUd *  
      是否XSLT模版应该被缓存 B9[eLh!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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