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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  _ qQ  
wt_ae|hv  
struts.action.extension FO]f 4@  
      The URL extension to use to determine if the request is meant for a Struts action .OW5R*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n*|8 (fD  
1T,Bd!g  
struts.configuration %>O}bdSf  
      The org.apache.struts2.config.Configuration implementation class mkBQ TQGT  
        org.apache.struts2.config.Configuration接口名 .rDao]K  
b3GTsX\2|  
struts.configuration.files 6is+\  
      A list of configuration files automatically loaded by Struts rg%m   
      struts自动加载的一个配置文件列表 D[YdPg@-  
9(KffnE^  
struts.configuration.xml.reload ^:O*Sx.CA  
      Whether to reload the XML configuration or not 7 X~JLvN  
      是否加载xml配置(true,false) W^H[rX}=  
X0$?$ ta  
struts.continuations.package @ <'a0)n>  
      The package containing actions that use Rife continuations zRau/1Y0  
      含有actions的完整连续的package名称 FklO#+<:  
h{)`W ]~  
struts.custom.i18n.resources n2F*a  
      Location of additional localization properties files to load AMK3I`=8WO  
      加载附加的国际化属性文件(不包含.properties后缀) N=8CVI  
to\$'2F"q  
struts.custom.properties QX(t@VP  
      Location of additional configuration properties files to load EScy!p\*  
      加载附加的配置文件的位置 f,-'eW/j  
cZt5;"xgr]  
D9r;Ys%  
struts.devMode 4tapQgj24  
      Whether Struts is in development mode or not G6"4JTWO  
      是否为struts开发模式 ]zvOM^l~  
T?-K}PUcQ  
struts.dispatcher.parametersWorkaround 7tY~8gQel  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic itO1ROmu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) sQT,@+JEr  
%Si3LQf  
struts.enable.DynamicMethodInvocation 7 :u+-U  
      Allows one to disable dynamic method invocation from the URL yN}<l%  
        允许动态方法调用 Z>'hNj)ju  
I =K<%.  
struts.freemarker.manager.classname MY&?*pV)  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class V5I xZn%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 iW? NxP  
,#.^2O9-^  
struts.i18n.encoding 3ZYrNul"  
      The encoding to use for localization messages rV I-Yb  
      国际化信息内码 `zcpaE.@  
:\1vy5 _  
struts.i18n.reload W5 RZsS]  
      Whether the localization messages should automatically be reloaded -r{]9v2j  
      是否国际化信息自动加载 lWU? R  
&G+:t)|S  
struts.locale 2|+4xqNJm  
      The default locale for the Struts application kr]_?B(r  
      默认的国际化地区信息 YdAC<,e&A  
".fnx8v,  
struts.mapper.class 00A2[gO9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vmtmiN8;d  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 LFQP ysC  
DJNM =v  
struts.multipart.maxSize 16N`xw+{  
      The maximize size of a multipart request (file upload) Y3luU&'  
      multipart请求信息的最大尺寸(文件上传用) w6k^|."  
mw=keY9]  
struts.multipart.parser -.vNb!=  
      The org.apache.struts2.dispatcher.multipart. IBv9xP]BZ  
      MultiPartRequest parser implementation for a multipart request (file upload) Sj4@pMh4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) e(-Vp7vXG  
4f,%@s)zn  
}e,*'mCC*  
struts.multipart.saveDir ,<CzS,(  
      The directory to use for storing uploaded files lN::veD  
      设置存储上传文件的目录夹 *>Zq79TG  
XZPq4(,9}  
struts.objectFactory }j#c#''i  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0OVxx>p/x  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]<E\J+5K  
SL%lY  
struts.objectFactory.spring.autoWire xTdh/}  
      Whether Spring should autoWire or not x$V[xX  
      是否自动绑定Spring /57)y_ \  
Pexg"328  
struts.objectFactory.spring.useClassCache )G9,5[  
      Whether Spring should use its class cache or not 9=MxuBl  
      是否spring应该使用自身的cache e5cvmUF_W  
/ =:X,^"P  
struts.objectTypeDeterminer a 1pa#WC  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }Xy<F?Mh  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 EXbhyg  
;KW}F|  
struts.serve.static.browserCache fYZ)5xnj  
If static content served by the Struts filter should set browser caching header properties or not km!jxs  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Qc"UTvq  
Sc$]ar]S  
struts.serve.static p%y|w  
      Whether the Struts filter should serve static content or not }o#6g|"\sY  
      是否struts过滤器应该提供静态内容 / CVhvK  
1x4{~g\  
struts.tag.altSyntax cH\.-5NQ  
      Whether to use the alterative syntax for the tags or not L [7Aa"R  
      是否可以用替代的语法替代tags `Jon^&^;|  
2UjQ!g`  
struts.ui.templateDir Z&0*\.6S~  
      The directory containing UI templates I)X33X,  
      UI templates的目录夹 1C\[n(9  
FFqqAT5  
struts.ui.theme H!dg(d^  
      The default UI template theme ,Tc598D  
      默认的UI template主题 th(<S  
Ny)!uqul*  
struts.url.http.port FQCz_ z  
      The HTTP port used by Struts URLs '0>w_ge4  
      设置http端口 2AI~Jm#  
M2e_)f:  
struts.url.https.port ;?0k>  
      The HTTPS port used by Struts URLs %,G0)t   
      设置https端口 V,)bw  
 h48 jKL(  
struts.url.includeParams Zo|# ,AdE>  
      The default includeParams method to generate Struts URLs 3]}wZY0  
      在url中产生 默认的includeParams Kr|9??`0E  
Zb=H\#T  
Vi1= E])  
struts.velocity.configfile x*uQBNf=  
      The Velocity configuration file path oefhJM!y  
      velocity配置文件路径 jO#5ZhG  
op|/_I$  
struts.velocity.contexts n[pW^&7x  
      List of Velocity context names v-mhqhb  
      velocity的context列表 @'{m-?*  
q}mQm'  
U(cV#@Y  
struts.velocity.manager.classname #Y;_W;#  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ov=^}T4zl  
      org.apache.struts2.views.velocity.VelocityManager接口名 "]C$"JR  
]%VR Nm  
struts.velocity.toolboxlocation \d#|n u  
      The location of the Velocity toolbox jN43vHm\Y9  
      velocity工具盒的位置  &(Ot(.  
struts.xslt.nocache u*J,3o} <  
      Whether or not XSLT templates should not be cached 1FiFP5  
      是否XSLT模版应该被缓存 K7H` Yt  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五