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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 HjZf3VwI  
Nzl`mx16  
struts.action.extension :b<<  
      The URL extension to use to determine if the request is meant for a Struts action QT\"r T9#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6k;>:[p  
~{q; - &  
struts.configuration U[6 ~ad a  
      The org.apache.struts2.config.Configuration implementation class $"fO/8Ex  
        org.apache.struts2.config.Configuration接口名 "MgTfUIiyD  
I?CfdI  
struts.configuration.files Ie4X k  
      A list of configuration files automatically loaded by Struts +Oc |Oo  
      struts自动加载的一个配置文件列表 +HoCG;C{  
DiSU\?N2'  
struts.configuration.xml.reload  4q\gFFV4  
      Whether to reload the XML configuration or not nk2H^RM^  
      是否加载xml配置(true,false) DS0:^TLI  
QPKY9.Rvv  
struts.continuations.package @-XMox/  
      The package containing actions that use Rife continuations CW?R7A/  
      含有actions的完整连续的package名称 LNM#\fb  
2bxW`.fa  
struts.custom.i18n.resources GW0e=Y=LR  
      Location of additional localization properties files to load %QQJSake|  
      加载附加的国际化属性文件(不包含.properties后缀) +4V"&S|&  
vGD D  
struts.custom.properties {emym$we  
      Location of additional configuration properties files to load v[<;z(7Qk  
      加载附加的配置文件的位置 ]~\%ANoi  
XT{ukEvDR  
ij02J`w:Ra  
struts.devMode 4AYW'j C  
      Whether Struts is in development mode or not E*VOyH 2[  
      是否为struts开发模式 GyGF<%nq  
4*?i!<N9  
struts.dispatcher.parametersWorkaround 6<{SbE|G{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '(SqHP|8&g  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hf5+$^RZ  
MR.c?P?0Q  
struts.enable.DynamicMethodInvocation #* Iyvx  
      Allows one to disable dynamic method invocation from the URL BZk0B ?  
        允许动态方法调用 'J_6SD  
CB>*(Mu  
struts.freemarker.manager.classname ;bkvdn}  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i=\`f& B  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 b@9d@@/wx  
l *+9R  
struts.i18n.encoding IV|})[n*  
      The encoding to use for localization messages }!jn%@_y@  
      国际化信息内码 sEcg;LFp  
zS!+2/(  
struts.i18n.reload o=Ia{@   
      Whether the localization messages should automatically be reloaded z;PF% F  
      是否国际化信息自动加载 )KUEkslR:  
AO]1`b:  
struts.locale tWITr  
      The default locale for the Struts application ~~{+?v6B]  
      默认的国际化地区信息 H*h4D+Kxv  
\04 (V'`U  
struts.mapper.class =90)=Pxd  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9bu1Ax1M  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )q>q]eHz  
mxmj  
struts.multipart.maxSize ]ujXPK=t  
      The maximize size of a multipart request (file upload) Ex4)R2c*  
      multipart请求信息的最大尺寸(文件上传用) QI6=[  
S=g E'"LT  
struts.multipart.parser uX~YDy  
      The org.apache.struts2.dispatcher.multipart. F 8 gw3  
      MultiPartRequest parser implementation for a multipart request (file upload) pu Z0_1uN  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `WlQ<QEi  
TQ25"bWi  
d%Nx/DS)  
struts.multipart.saveDir s+6tdBvzs  
      The directory to use for storing uploaded files =iE)vY,?"}  
      设置存储上传文件的目录夹 D@`"99z  
h?-M+Ac  
struts.objectFactory tiTh7qYi9  
      The com.opensymphony.xwork2.ObjectFactory implementation class RwDXOdgu  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2R~[B]2"r  
R|R3Ob.e  
struts.objectFactory.spring.autoWire IZ9* '0Z  
      Whether Spring should autoWire or not Zxn>]Z_  
      是否自动绑定Spring @+; cFj  
t9[%o=N~lD  
struts.objectFactory.spring.useClassCache # #/ l  
      Whether Spring should use its class cache or not #s|,o Im  
      是否spring应该使用自身的cache CzG/=#IU  
qWb8"  
struts.objectTypeDeterminer oE$zOS&2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C&&33L  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A5%cgr% 6  
.MW/XnCYs4  
struts.serve.static.browserCache xHWD1>  
If static content served by the Struts filter should set browser caching header properties or not E rnGX#@v  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;Wig${  
9DaoM OPEI  
struts.serve.static y.?Q  
      Whether the Struts filter should serve static content or not K#a_7/!v/  
      是否struts过滤器应该提供静态内容 G[\3)@I  
. /~#  
struts.tag.altSyntax >on' y+  
      Whether to use the alterative syntax for the tags or not 2[5z6oG  
      是否可以用替代的语法替代tags iK9#{1BpML  
T#D*B]oZ}  
struts.ui.templateDir 7hfa?Mcz  
      The directory containing UI templates !E9A=u{  
      UI templates的目录夹 h SU|rVi  
f4&k48Ds  
struts.ui.theme A&=`?4>  
      The default UI template theme nIv/B/>pZ  
      默认的UI template主题  ){xMMQ5  
4Q^i"jT  
struts.url.http.port uG 7ll5Yy  
      The HTTP port used by Struts URLs JbW!V Y  
      设置http端口 81Ityd-}  
}d16xp  
struts.url.https.port -0Q^k\X-  
      The HTTPS port used by Struts URLs xI^nA2g  
      设置https端口 meR5E?Fm  
znu [i&\=  
struts.url.includeParams =\)qUs\z  
      The default includeParams method to generate Struts URLs GM>Ms!Y  
      在url中产生 默认的includeParams 6D1tRo  
LJ mRa  
Ar1X mHq  
struts.velocity.configfile dJUI.!hv;  
      The Velocity configuration file path h!~u^Z.7<  
      velocity配置文件路径 'EsdYx5C  
7wwlZ;w  
struts.velocity.contexts v#Y9O6g]T  
      List of Velocity context names S}XVr?l 2O  
      velocity的context列表 $_b^p=  
$ Y_v X 2  
6sl2vHzA  
struts.velocity.manager.classname 1[H1l;  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?)'+l   
      org.apache.struts2.views.velocity.VelocityManager接口名 Pqb])-M9p  
bAm ,gP  
struts.velocity.toolboxlocation yB,{:kq7D  
      The location of the Velocity toolbox :gacP?  
      velocity工具盒的位置 /2AeJH\-  
struts.xslt.nocache Q>[GD(8k  
      Whether or not XSLT templates should not be cached ro*$OLc/  
      是否XSLT模版应该被缓存 + hKH\]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五