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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 VnB HQ.C  
8No'8(dPX  
struts.action.extension ! os@G  
      The URL extension to use to determine if the request is meant for a Struts action >mJ`904L  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Lw(tO0b2H  
JgKhrDx  
struts.configuration Df*<3G  
      The org.apache.struts2.config.Configuration implementation class L;{{P7  
        org.apache.struts2.config.Configuration接口名 d=uGB"  
C|w<mryx  
struts.configuration.files H`URJ8k$Q  
      A list of configuration files automatically loaded by Struts 0_+ & [g}  
      struts自动加载的一个配置文件列表 }-XZ1qr  
cwtlOg  
struts.configuration.xml.reload ~[og\QZX  
      Whether to reload the XML configuration or not Vmh$c*TE  
      是否加载xml配置(true,false) W _Hoa*~  
~@X3qja  
struts.continuations.package RF'nwzM3  
      The package containing actions that use Rife continuations (RG "2I3  
      含有actions的完整连续的package名称 1MnC5[Q  
|/%5~=%7  
struts.custom.i18n.resources $ywROa]  
      Location of additional localization properties files to load 9b,0_IMHH  
      加载附加的国际化属性文件(不包含.properties后缀) 8tna<Hx  
r#& JfAo  
struts.custom.properties n|DMj[uT  
      Location of additional configuration properties files to load T9]0/>  
      加载附加的配置文件的位置 A8ef=ljM?  
k4u/v n`&r  
_29wQn@]  
struts.devMode "XLtrAu{  
      Whether Struts is in development mode or not ~%M*@ fm  
      是否为struts开发模式 shy[>\w  
)uR_d=B&  
struts.dispatcher.parametersWorkaround +c C. ZOS  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Dr=$}Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~!g2+^G7+P  
:2 :VMIa  
struts.enable.DynamicMethodInvocation f5un7,m  
      Allows one to disable dynamic method invocation from the URL }YM\IPsPu  
        允许动态方法调用 e<a*@ P,  
.7LQ l ?  
struts.freemarker.manager.classname d]^m^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 'wMvO{}$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $o\z4_I  
L+ XAbL)  
struts.i18n.encoding AL,7rYZG$  
      The encoding to use for localization messages &HAu;u@  
      国际化信息内码 B)L0hi  
bqA`oRb\  
struts.i18n.reload mT UoFXX[  
      Whether the localization messages should automatically be reloaded &=n/h5e0t&  
      是否国际化信息自动加载 :&'jh/vRN  
9y5JV3  
struts.locale r7R.dD /.  
      The default locale for the Struts application =_m3 ~=Z  
      默认的国际化地区信息 }BL7P-km  
mv~?1aIKD  
struts.mapper.class zb"4_L@m2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )rAJ>;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 '@M"#`#0  
T{m) = (q  
struts.multipart.maxSize $0un`&W  
      The maximize size of a multipart request (file upload) nTwJR  
      multipart请求信息的最大尺寸(文件上传用) 8Lx1XbwK  
"$o>_+U  
struts.multipart.parser qnWM  %k  
      The org.apache.struts2.dispatcher.multipart. -OU{99$aS  
      MultiPartRequest parser implementation for a multipart request (file upload) (y&sUc9  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) B9$f y).Gp  
'kY/=*=Q  
|>'N^   
struts.multipart.saveDir M eep  
      The directory to use for storing uploaded files |K{ d5\_  
      设置存储上传文件的目录夹 c?. i;4yh  
5~jz| T}s  
struts.objectFactory U] GD6q  
      The com.opensymphony.xwork2.ObjectFactory implementation class "M /Cl|z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) n=F rv*"Z  
oaPWeM+  
struts.objectFactory.spring.autoWire 5G(dvM-n  
      Whether Spring should autoWire or not HQ7g0:-^a>  
      是否自动绑定Spring K*b* ]hf{  
l:JVt`A4?  
struts.objectFactory.spring.useClassCache C#yRop_d]o  
      Whether Spring should use its class cache or not FBB<1({A  
      是否spring应该使用自身的cache b6Z3(!] ]  
|#< z\u }  
struts.objectTypeDeterminer ` V [4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class jn(!6\n"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $cJ fdE  
YaC[S^p  
struts.serve.static.browserCache e`LkCy[_  
If static content served by the Struts filter should set browser caching header properties or not vxC];nCC#  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'bSWJ/;p)  
%,HUn`  
struts.serve.static YVgH[-`,  
      Whether the Struts filter should serve static content or not 5XB]p|YU~s  
      是否struts过滤器应该提供静态内容 \#VWZ\M8a  
H&p:  
struts.tag.altSyntax Qox/abC h  
      Whether to use the alterative syntax for the tags or not A/UOcl+N  
      是否可以用替代的语法替代tags dhnX\/  
Y~{<Hs  
struts.ui.templateDir %g@\SR.  
      The directory containing UI templates DC1.f(cdR  
      UI templates的目录夹 %Y=r5'6l  
|?Edk7`  
struts.ui.theme 8OV =;aM?{  
      The default UI template theme G6W|l2P!  
      默认的UI template主题 PLz+%L;{  
'Q :%s  
struts.url.http.port uYg Q?*Z  
      The HTTP port used by Struts URLs -C~zvP; a  
      设置http端口 PlS)Zv3  
-qaO$M^Q  
struts.url.https.port qpCaW0]7  
      The HTTPS port used by Struts URLs EsX(<bx  
      设置https端口 \#) YS  
ji\LC%U-  
struts.url.includeParams rXMc0SPk  
      The default includeParams method to generate Struts URLs z\ONw Ml  
      在url中产生 默认的includeParams )8#-IXxp  
S(xs;tZ  
'Rsr*gX#  
struts.velocity.configfile >bQOpGy}l  
      The Velocity configuration file path X`WS&!C<  
      velocity配置文件路径 Jj=N+,km  
~1}fL 1~5  
struts.velocity.contexts j$/#2%OVN  
      List of Velocity context names U\qbr.<  
      velocity的context列表 b1i~F45h  
<8kCmuGlk  
HK<S|6B7V  
struts.velocity.manager.classname u pUJF`3  
      org.apache.struts2.views.velocity.VelocityManager implementation class 26k~Z}  
      org.apache.struts2.views.velocity.VelocityManager接口名 \$DBtq5=  
Fv %@k{  
struts.velocity.toolboxlocation ?6&G:Uz/  
      The location of the Velocity toolbox F {L#  
      velocity工具盒的位置 ocK4Nxs  
struts.xslt.nocache #rGCv~0*l  
      Whether or not XSLT templates should not be cached ^lZ7%6  
      是否XSLT模版应该被缓存 pKj:)6t"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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