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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Et(Q$/W  
K+dkImkh  
struts.action.extension xU@YBzbk  
      The URL extension to use to determine if the request is meant for a Struts action tS#EqMf&o  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "@W0Lk[  
D^=_408\  
struts.configuration L{bcmo\U  
      The org.apache.struts2.config.Configuration implementation class Nz#T)MGO`  
        org.apache.struts2.config.Configuration接口名 cbsy&U  
zBay 3a  
struts.configuration.files ;WJ}zjo >  
      A list of configuration files automatically loaded by Struts Wd~aSz9  
      struts自动加载的一个配置文件列表 o;{  
yJWgz`/L  
struts.configuration.xml.reload 15r,_Gp8  
      Whether to reload the XML configuration or not hdW",Bf'  
      是否加载xml配置(true,false) }+#-\a2  
qg:R+`z  
struts.continuations.package *GbC`X)  
      The package containing actions that use Rife continuations # ,u7lAz  
      含有actions的完整连续的package名称 Y"D'|i  
+8."z"i3lE  
struts.custom.i18n.resources r|:|\"Yk  
      Location of additional localization properties files to load =`xk|86f  
      加载附加的国际化属性文件(不包含.properties后缀) iN0pYqY*  
?}m/Q"!1  
struts.custom.properties WfBA5  
      Location of additional configuration properties files to load 9'o!9_j  
      加载附加的配置文件的位置 bsC~ 2S\o  
Km8btS]n  
I.Co8is  
struts.devMode TOn{o}Y B  
      Whether Struts is in development mode or not " _jIqj6C  
      是否为struts开发模式 8;P8CKe  
'M|W nR  
struts.dispatcher.parametersWorkaround \2U^y4K.  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @R9zLL6#7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^HLi1w|  
Z6!MX_ep  
struts.enable.DynamicMethodInvocation zKe&*tZ  
      Allows one to disable dynamic method invocation from the URL }C/u>89%q  
        允许动态方法调用 C#emmg!a\  
/YR*KxIx  
struts.freemarker.manager.classname O4$ra;UM`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <wFR%Y/j  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &Sj<X`^  
.S`Ue,H  
struts.i18n.encoding "Fy34T0N  
      The encoding to use for localization messages >J[g)$,  
      国际化信息内码 >"f,'S5*  
BXO(B'1)]  
struts.i18n.reload VE& ?Zd~  
      Whether the localization messages should automatically be reloaded >{~W"  
      是否国际化信息自动加载 =<_xUh.  
Ra'0 ^4t  
struts.locale K0@2>nR  
      The default locale for the Struts application v/c8P\  
      默认的国际化地区信息 iH#~eg  
VFT G3,kI  
struts.mapper.class +&jWM-T"-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u ?7(A %  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 sT[)r]`T  
xoTS?7  
struts.multipart.maxSize !oLrN/-  
      The maximize size of a multipart request (file upload) R,C)|*ef  
      multipart请求信息的最大尺寸(文件上传用) 0J_ AX  
5znLpBX<N  
struts.multipart.parser }e6Ta_Z~  
      The org.apache.struts2.dispatcher.multipart. n <6}  
      MultiPartRequest parser implementation for a multipart request (file upload) LU_@8i:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ilw<Q-o4(  
~cz] Rhq  
Dn) =V.  
struts.multipart.saveDir &9$0v"`H  
      The directory to use for storing uploaded files Ox8dnPcx  
      设置存储上传文件的目录夹 B~cq T/\?  
p.n]y=o.)  
struts.objectFactory F:%= u =  
      The com.opensymphony.xwork2.ObjectFactory implementation class j2cLb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) S6B(g_D|  
k;3Bv 6  
struts.objectFactory.spring.autoWire GfUIF]X  
      Whether Spring should autoWire or not (sW:^0p  
      是否自动绑定Spring g.kpUs  
b,Ed}Ir  
struts.objectFactory.spring.useClassCache /R^HRzTO  
      Whether Spring should use its class cache or not ! W$ u~z  
      是否spring应该使用自身的cache fGcAkEstT!  
d@b0z$<s  
struts.objectTypeDeterminer tE]g*]o  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,ZJI]Q=!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 COOazXtW  
VCiJ]$`M  
struts.serve.static.browserCache zid?yuP  
If static content served by the Struts filter should set browser caching header properties or not  @zEEX9U  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bS3qX{5  
KunK.m  
struts.serve.static 'd]9u9u  
      Whether the Struts filter should serve static content or not 4\pi<#X  
      是否struts过滤器应该提供静态内容 *ys@ 'Ai?  
5>t&)g  
struts.tag.altSyntax 79~,KFct  
      Whether to use the alterative syntax for the tags or not I}p uN!  
      是否可以用替代的语法替代tags Xj&{M[k<  
qDqIy+WR  
struts.ui.templateDir b+'G^!JR  
      The directory containing UI templates &vj+3<2  
      UI templates的目录夹 Bg-C:Ok 2'  
=w?-R\  
struts.ui.theme qRJg/~_h{  
      The default UI template theme "z69jxXo  
      默认的UI template主题 M/5/Tp  
owCQ71Q  
struts.url.http.port aP!a?xq  
      The HTTP port used by Struts URLs A]Zp1XEG  
      设置http端口 r[eZV"  
k*-_CO-h  
struts.url.https.port 8d-; ;V  
      The HTTPS port used by Struts URLs 25l6@7q.  
      设置https端口 +>.plvZhu  
fNFdZ[qOd  
struts.url.includeParams ,yWTk ql  
      The default includeParams method to generate Struts URLs ?6p6OB  
      在url中产生 默认的includeParams eE>3=1d]w  
X@b$C~+  
:t(gD8;  
struts.velocity.configfile b)en/mz  
      The Velocity configuration file path C:hfI;*7  
      velocity配置文件路径 >L$y|8 O  
s^^X.z ,  
struts.velocity.contexts 5w gtc~  
      List of Velocity context names Q#}} 1}Ja  
      velocity的context列表 (i|`PA  
-vGyEd7  
+AZ=nMgW  
struts.velocity.manager.classname ,M>W)TSH  
      org.apache.struts2.views.velocity.VelocityManager implementation class `Vw9j,G  
      org.apache.struts2.views.velocity.VelocityManager接口名 "@gJ[BL#  
dg4"4\c*P  
struts.velocity.toolboxlocation EQyRP. dq  
      The location of the Velocity toolbox u%V =Ze  
      velocity工具盒的位置 -]Z!_[MlDF  
struts.xslt.nocache vROl}s;  
      Whether or not XSLT templates should not be cached 8doT`rI1  
      是否XSLT模版应该被缓存 :GIY"l'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五