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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~yd%~|  
H8( C>w-'  
struts.action.extension I>\}}!  
      The URL extension to use to determine if the request is meant for a Struts action +B](5z4  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 FDl,Ey^r/  
ipfm'aQ  
struts.configuration =[APMig,n  
      The org.apache.struts2.config.Configuration implementation class yB|]LYh  
        org.apache.struts2.config.Configuration接口名 "i}Z(_7yr  
~T;K-9R  
struts.configuration.files e K\|SQb  
      A list of configuration files automatically loaded by Struts ~ >4@;  
      struts自动加载的一个配置文件列表 .HQVj'g  
a pKa4nI  
struts.configuration.xml.reload G[y&`Qc)G  
      Whether to reload the XML configuration or not !'Gb$l!  
      是否加载xml配置(true,false) IruyE(;HS  
_T_PX$B  
struts.continuations.package 2lX[hFa5  
      The package containing actions that use Rife continuations kbD*=d}3{  
      含有actions的完整连续的package名称 2&suo!ig  
M^Q&A R'F  
struts.custom.i18n.resources @"jmI&hYn  
      Location of additional localization properties files to load 2LtU;}7s  
      加载附加的国际化属性文件(不包含.properties后缀) 9@kc K  
\,$r,6-g  
struts.custom.properties -WQ_[t9l  
      Location of additional configuration properties files to load ;b{pzIe=F  
      加载附加的配置文件的位置 ,<`|-oa  
n$nne6|O  
0F-mROC=F  
struts.devMode aE%eJ)+K  
      Whether Struts is in development mode or not A/ox#(!v  
      是否为struts开发模式 Nck!z8  
|`N$>9qN  
struts.dispatcher.parametersWorkaround v=dKcruR:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ';i"?D?NAk  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /h{go]&Nb  
$71i+h]_  
struts.enable.DynamicMethodInvocation Vp5V m  
      Allows one to disable dynamic method invocation from the URL 2&zn^\%"  
        允许动态方法调用 PR48~K,?  
dqIZ#;:g  
struts.freemarker.manager.classname # |[`1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class DQL06`pX/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 d=Rk\F'^J  
}rFsU\]:q  
struts.i18n.encoding ~YR <SV\{  
      The encoding to use for localization messages kKFuTem_3  
      国际化信息内码 SSSDl$}'t  
~(w=U *  
struts.i18n.reload yVu^ >  
      Whether the localization messages should automatically be reloaded nR=2eBNf  
      是否国际化信息自动加载 WHhR )$zC  
E.5*Jr=J  
struts.locale ~;!i)[-  
      The default locale for the Struts application aPcGI  
      默认的国际化地区信息 n1k$)S$iiy  
0ECO/EuCg  
struts.mapper.class Vq)|gF[6i  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "-~D! {rS  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [[.&,6  
(;Dn%kK  
struts.multipart.maxSize OuYE-x2]x"  
      The maximize size of a multipart request (file upload) ;T"m [D  
      multipart请求信息的最大尺寸(文件上传用) `uaD.m$EJ  
5 b#" G"  
struts.multipart.parser xv(xweV+d  
      The org.apache.struts2.dispatcher.multipart.  \\E_W9.u  
      MultiPartRequest parser implementation for a multipart request (file upload) @xW"rX#7f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eNlF2M  
eEg1-  
Z!s>AgH9u  
struts.multipart.saveDir ~#N.!e4  
      The directory to use for storing uploaded files 2F*Dkv  
      设置存储上传文件的目录夹 Jnu}{^~  
.zSimEOF  
struts.objectFactory 2yCd:wg  
      The com.opensymphony.xwork2.ObjectFactory implementation class "p6:ekw  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /v|68x6  
8KGv?^M 6W  
struts.objectFactory.spring.autoWire hK9t}NE.O  
      Whether Spring should autoWire or not &EbD.>Ci  
      是否自动绑定Spring ]C!Y~  
#:Sy`G6!?  
struts.objectFactory.spring.useClassCache m_PrasZ>  
      Whether Spring should use its class cache or not NdXy% Q  
      是否spring应该使用自身的cache xTksF?u)  
X'3`Q S:!  
struts.objectTypeDeterminer E=tx.h4xG~  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R>YMGUH~w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7}iewtdy,  
)T$f k  
struts.serve.static.browserCache x" :Bw;~  
If static content served by the Struts filter should set browser caching header properties or not kgbr+Yw2X  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G,mH!lSm,  
y uK5r  
struts.serve.static Fh!!T%5>C  
      Whether the Struts filter should serve static content or not 3Av(|<cR  
      是否struts过滤器应该提供静态内容 3Mh,NQB  
t$PnQ@xu  
struts.tag.altSyntax gQ@Pw4bA  
      Whether to use the alterative syntax for the tags or not @D=2Er\  
      是否可以用替代的语法替代tags a@a1TpLQ  
b1 ['uJF  
struts.ui.templateDir Q\/":ISq1  
      The directory containing UI templates ,ov v  
      UI templates的目录夹 U~B}vt  
5 1CU@1Ie  
struts.ui.theme w]5f3CIm  
      The default UI template theme v BeU  
      默认的UI template主题 &T{B~i3w8  
3PR7g  
struts.url.http.port m 'H  
      The HTTP port used by Struts URLs j}?ZsnqV  
      设置http端口 DRg ~HT  
n+F-,=0  
struts.url.https.port (.nJT"&  
      The HTTPS port used by Struts URLs 4Uy>#IL  
      设置https端口 ht74h  
CO)b'V,  
struts.url.includeParams g]#zWTw(   
      The default includeParams method to generate Struts URLs ~JmxW;|_x)  
      在url中产生 默认的includeParams ht cO ~b  
Vx4pP$S  
<~8f0+"  
struts.velocity.configfile CbvL X="%  
      The Velocity configuration file path o-i.'L)X  
      velocity配置文件路径 )yH#*~X_   
UmI@":|-  
struts.velocity.contexts _2n/vF;I+_  
      List of Velocity context names xg1r 3  
      velocity的context列表 }m lbN0v  
hB<z]sl  
P9cI{RI  
struts.velocity.manager.classname Ex&RR< 5  
      org.apache.struts2.views.velocity.VelocityManager implementation class e$+? v2.  
      org.apache.struts2.views.velocity.VelocityManager接口名 Nn4Kt,KY  
*oJ>4S  
struts.velocity.toolboxlocation 1Y0oo jD  
      The location of the Velocity toolbox _ ~$0cj<  
      velocity工具盒的位置 NU\t3JaR  
struts.xslt.nocache vlKKPS  
      Whether or not XSLT templates should not be cached S5 oHe4#89  
      是否XSLT模版应该被缓存 x=r6vOj  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五