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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *8H;KGe=  
86F+N_>Z  
struts.action.extension 12xP)*:$  
      The URL extension to use to determine if the request is meant for a Struts action >8O=^7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Bqlc+d:  
em!R9J.  
struts.configuration _Pi:TxY   
      The org.apache.struts2.config.Configuration implementation class N|2  
        org.apache.struts2.config.Configuration接口名 B1#>$"_0}=  
(1j$*?iGA  
struts.configuration.files L"6/"L  
      A list of configuration files automatically loaded by Struts $ _Bu,;  
      struts自动加载的一个配置文件列表 t~K!["g  
4(GgaQFO?  
struts.configuration.xml.reload f+Li'?  
      Whether to reload the XML configuration or not C*e[CP@u  
      是否加载xml配置(true,false) g 'a?  
72vGfT2HtZ  
struts.continuations.package =e-aZ0P  
      The package containing actions that use Rife continuations x>" JWD  
      含有actions的完整连续的package名称 -L?% o_  
8z8SwWS?  
struts.custom.i18n.resources 4$GRCq5N;  
      Location of additional localization properties files to load A;a(n\Sy  
      加载附加的国际化属性文件(不包含.properties后缀) V9+"CB^  
Sc 3M#qm_  
struts.custom.properties E(+wl  
      Location of additional configuration properties files to load ,<r3Z$G  
      加载附加的配置文件的位置 "sX?wTag  
SJ7=<y}[d  
<?Izfl6  
struts.devMode ={@ @`yP^$  
      Whether Struts is in development mode or not 6Ok=q:;  
      是否为struts开发模式 |P0L,R  
Y6? mY!  
struts.dispatcher.parametersWorkaround SSbK[aR  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T4Gw\Z%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vP)~j1  
-U;LiO;N  
struts.enable.DynamicMethodInvocation '!h0![OH  
      Allows one to disable dynamic method invocation from the URL h]DE Cd{  
        允许动态方法调用 MGyB8(  
KXA)i5z  
struts.freemarker.manager.classname ::R00gd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class aC Lg~g4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7oLf5V1~  
}\L !;6oy  
struts.i18n.encoding [P c[{(  
      The encoding to use for localization messages UMi`u6#  
      国际化信息内码 gIM'bA<~  
9.OwH(Ax7  
struts.i18n.reload 15T[J%7f  
      Whether the localization messages should automatically be reloaded 9AddF*B  
      是否国际化信息自动加载 J}_Dpb[L  
R{KIkv  
struts.locale )^>XZ*eK  
      The default locale for the Struts application t:s q*d  
      默认的国际化地区信息 S Ljf<.S  
F@'rP++4  
struts.mapper.class  {%~4RZA  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C 3XZD4.2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [xp,&  
!5SQN5K  
struts.multipart.maxSize )Z]y.W)  
      The maximize size of a multipart request (file upload) UK_aqB  
      multipart请求信息的最大尺寸(文件上传用) DcR}pQ(e  
D62 NU  
struts.multipart.parser <6O _t,K]  
      The org.apache.struts2.dispatcher.multipart. >aC\_Mc  
      MultiPartRequest parser implementation for a multipart request (file upload) ZWhmO=b!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tvH\iS#V  
xm,`4WdG  
V;hwAQbF  
struts.multipart.saveDir [H:GKhPC`  
      The directory to use for storing uploaded files Z*9]:dG:!  
      设置存储上传文件的目录夹 , 64t  
]baaOD$Z  
struts.objectFactory &<|-> *v  
      The com.opensymphony.xwork2.ObjectFactory implementation class FJ(B]n[>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) oYh<k  
[+MX$y  
struts.objectFactory.spring.autoWire .i&ZT}v3  
      Whether Spring should autoWire or not $K_YC~  
      是否自动绑定Spring 2 ssj(Qo  
DMcxa.Sd!  
struts.objectFactory.spring.useClassCache [kuVQ$)  
      Whether Spring should use its class cache or not YyJ{  
      是否spring应该使用自身的cache .F$|j1y  
87pXv6'FQ  
struts.objectTypeDeterminer Sa1z,EP  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *zVLy^L_8  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;y~{+{{Ow  
7}cDGdr  
struts.serve.static.browserCache D@\;@( |  
If static content served by the Struts filter should set browser caching header properties or not H9san5{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 c6Aut`dK  
"ryk\}*<  
struts.serve.static ^L-w(r62<  
      Whether the Struts filter should serve static content or not #;"D)C  
      是否struts过滤器应该提供静态内容 r -q3+c^+  
iA3>X-x   
struts.tag.altSyntax d=Df.H+3  
      Whether to use the alterative syntax for the tags or not jWK@NXMH  
      是否可以用替代的语法替代tags #3Ej0"A@-B  
!H1tBg]5  
struts.ui.templateDir rx6-~0!eI=  
      The directory containing UI templates E R]sDV  
      UI templates的目录夹 RE>ks[  
%t~SOkx  
struts.ui.theme b WbXh$  
      The default UI template theme E<<p_hX8R  
      默认的UI template主题 U7B/t3,=U  
QSF"8Uk  
struts.url.http.port { 8f+h  
      The HTTP port used by Struts URLs S'!q}|7X 3  
      设置http端口 =%3b@}%HqS  
`e $n$Bh  
struts.url.https.port ![@T iM  
      The HTTPS port used by Struts URLs 45+%K@@x  
      设置https端口 2\nN4WL 5.  
)jlP cO-  
struts.url.includeParams x9)aBB  
      The default includeParams method to generate Struts URLs Ob8B  
      在url中产生 默认的includeParams sCF40AoY&  
Zgg'9E  
 gmRT1T  
struts.velocity.configfile zRV!(Y  
      The Velocity configuration file path BeI;#m0  
      velocity配置文件路径 N~):c2Kp<9  
ss`P QN  
struts.velocity.contexts -*|:v67C&  
      List of Velocity context names /BMtcCPG!  
      velocity的context列表 +%Lt".o  
`s`C{|wv  
/}w#Jk4pD  
struts.velocity.manager.classname )_77>f%  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?Ml%$z@b?  
      org.apache.struts2.views.velocity.VelocityManager接口名 h@~:(:zU$  
Il{^ j6  
struts.velocity.toolboxlocation Sk/#J!T8{  
      The location of the Velocity toolbox (S  k#x  
      velocity工具盒的位置 iUIy,Y  
struts.xslt.nocache @8=vFP'  
      Whether or not XSLT templates should not be cached ,M) k7t:  
      是否XSLT模版应该被缓存 l]_b;iux  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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