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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )uJu.foE  
"B^c  
struts.action.extension 2^*a$ OJ  
      The URL extension to use to determine if the request is meant for a Struts action &.ENcEic  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Km=dId7]  
.Zzx W  
struts.configuration K:osfd  
      The org.apache.struts2.config.Configuration implementation class jEkO #xI  
        org.apache.struts2.config.Configuration接口名 |v[0(  
qMj'%5/  
struts.configuration.files $XOs(>~"r  
      A list of configuration files automatically loaded by Struts <EHgPlQn  
      struts自动加载的一个配置文件列表 P m Zb!|  
X,Q'Xe /  
struts.configuration.xml.reload .0[ zZ  
      Whether to reload the XML configuration or not x  bsk  
      是否加载xml配置(true,false) 8^8fUN4<=  
|IL/F]I  
struts.continuations.package { !;I4W%!  
      The package containing actions that use Rife continuations Q=+*OQV29  
      含有actions的完整连续的package名称 C(Bh<c0@  
vs`"BQYf  
struts.custom.i18n.resources t\/i9CBn  
      Location of additional localization properties files to load f2abee  
      加载附加的国际化属性文件(不包含.properties后缀) vfn _Nq;  
_3_kvs  
struts.custom.properties ^)|!nd  
      Location of additional configuration properties files to load ]V 4Fm{]  
      加载附加的配置文件的位置 M$O*@])  
W'B=H1  
cU+% zk  
struts.devMode iFypKpHg~  
      Whether Struts is in development mode or not hS?pc<~`#  
      是否为struts开发模式 PU"C('AP  
bGO[P<<  
struts.dispatcher.parametersWorkaround HoTg7/iK  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic G1vg2'A  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) FM80F_G^z  
)$.::[pNA  
struts.enable.DynamicMethodInvocation feI%QnK)U  
      Allows one to disable dynamic method invocation from the URL TH%J=1d  
        允许动态方法调用 3.c0PRZ  
Bc^%1  
struts.freemarker.manager.classname wd 4]Z0;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e)#O-y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /p&V72  
2%|0c\y|z=  
struts.i18n.encoding mHiV};$  
      The encoding to use for localization messages S1!X;PP/  
      国际化信息内码 H;eGBVi  
g ss 3e&  
struts.i18n.reload e?V7<7$  
      Whether the localization messages should automatically be reloaded TVVr<r  
      是否国际化信息自动加载 ^iHwv*ss  
t,f)!D$  
struts.locale ;F/yS2p  
      The default locale for the Struts application 5}pn5iI  
      默认的国际化地区信息 cg]\R1Gm  
d&@>P&AT  
struts.mapper.class " 0:&x n8L  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;aY.CgX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 MPtn$@  
d"P\ =`+  
struts.multipart.maxSize 'pa>;{  
      The maximize size of a multipart request (file upload) W`qiPLk  
      multipart请求信息的最大尺寸(文件上传用) 8 BHtN  
@lYm2l^  
struts.multipart.parser h8ikM&fl  
      The org.apache.struts2.dispatcher.multipart. Ci}v+  
      MultiPartRequest parser implementation for a multipart request (file upload) +i@r-OL   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2$fFl,v!z  
P_[A  
4dB6cg  
struts.multipart.saveDir {#Lj,o  
      The directory to use for storing uploaded files LhfI"fc  
      设置存储上传文件的目录夹 +p:?blG  
(D?%(f  
struts.objectFactory #TXN\YNP  
      The com.opensymphony.xwork2.ObjectFactory implementation class BeNH"Y:E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Gl4(-e'b  
4GiHp7Y&A  
struts.objectFactory.spring.autoWire sp2"c"_+  
      Whether Spring should autoWire or not @jKiE%OP  
      是否自动绑定Spring {DI`HB[  
5)T=^"IHXi  
struts.objectFactory.spring.useClassCache \L-K}U>J  
      Whether Spring should use its class cache or not &V$qIvN$  
      是否spring应该使用自身的cache o/;kzi  
o~_wx  
struts.objectTypeDeterminer B;3lF ;3`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class sy ]k  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u(Y! _  
[\Ks+S  
struts.serve.static.browserCache &yQilyU{V  
If static content served by the Struts filter should set browser caching header properties or not o:p6[SGd  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {N \ri{|  
J0 [^hH  
struts.serve.static `YK2hr  
      Whether the Struts filter should serve static content or not iq25|{1$  
      是否struts过滤器应该提供静态内容 &V.\Svm8]  
THQd`Lj  
struts.tag.altSyntax ({R-JkW: ;  
      Whether to use the alterative syntax for the tags or not ]d}h`!:  
      是否可以用替代的语法替代tags $s*nh>@7  
TpHvZ]c  
struts.ui.templateDir ir72fSe  
      The directory containing UI templates yR`X3.:*]  
      UI templates的目录夹 M;96 Wm  
"&_$%#HUv  
struts.ui.theme C9,|G7~*q  
      The default UI template theme {c7ZA%T~R  
      默认的UI template主题 J$]-)`[G&  
 ?^8CD.|  
struts.url.http.port xb N)z  
      The HTTP port used by Struts URLs SRUg2)d  
      设置http端口 zK Y 9 'y  
f>*D@TrU  
struts.url.https.port 3 N5un`K7  
      The HTTPS port used by Struts URLs y4V~fg;  
      设置https端口 ??'>kQ4  
hPb erc2  
struts.url.includeParams 8|Q=9mmWOh  
      The default includeParams method to generate Struts URLs j56#KNAha  
      在url中产生 默认的includeParams ];3]/b)&  
56|o6-a^  
^PNE6  
struts.velocity.configfile <l:c O$ m  
      The Velocity configuration file path (O&R-5m  
      velocity配置文件路径 d){o#@  
}!&Vcf  
struts.velocity.contexts )&nfV5@"  
      List of Velocity context names NSsLuM=.  
      velocity的context列表 UdIl5P  
~36)3W[4  
K;,_P5J%  
struts.velocity.manager.classname 'e/= !"T  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,y>%m;jL  
      org.apache.struts2.views.velocity.VelocityManager接口名 EAdr}io  
@hb K  
struts.velocity.toolboxlocation DX*eN"z[  
      The location of the Velocity toolbox L"_l(<g  
      velocity工具盒的位置 oy;g;dtq  
struts.xslt.nocache :EkhF6B/  
      Whether or not XSLT templates should not be cached cE|Z=}4I7  
      是否XSLT模版应该被缓存 ]c Or$O*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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