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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 H_@6!R2  
Ag2~q  
struts.action.extension 445JOP  
      The URL extension to use to determine if the request is meant for a Struts action M-].l3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h._eP.W`  
W#!AZ!  
struts.configuration d:iJUVpr  
      The org.apache.struts2.config.Configuration implementation class w/ ~\NI  
        org.apache.struts2.config.Configuration接口名 6IRRRtO(  
p#qla'  
struts.configuration.files MS#"TG/)  
      A list of configuration files automatically loaded by Struts A-1K TD  
      struts自动加载的一个配置文件列表 z&0[F`U  
&Ih }"  
struts.configuration.xml.reload <_8b AO8\  
      Whether to reload the XML configuration or not )SP"V~^Wn  
      是否加载xml配置(true,false) 'y!qrmMRr  
qN1fWU#$  
struts.continuations.package @_"cMU!  
      The package containing actions that use Rife continuations i/*)1;xsk  
      含有actions的完整连续的package名称 dH5*%  
hN K wQ  
struts.custom.i18n.resources <gi~:%T  
      Location of additional localization properties files to load :Ni#XZ{F-/  
      加载附加的国际化属性文件(不包含.properties后缀) cQ<|Of  
9 Vq   
struts.custom.properties V+D5<nICr  
      Location of additional configuration properties files to load >'Lkn2WI  
      加载附加的配置文件的位置 UH0l8ixc  
{,uSDI Oj$  
f_PH?  
struts.devMode + a*Ic8*  
      Whether Struts is in development mode or not ;{0alhMZ  
      是否为struts开发模式 5cf?u3r!qJ  
h0m5o V  
struts.dispatcher.parametersWorkaround >"1EN5W  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T^] ]z}k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xGr{ad.N  
(KN",u6F  
struts.enable.DynamicMethodInvocation jNx{*2._r  
      Allows one to disable dynamic method invocation from the URL c;/vzIJj  
        允许动态方法调用 VF11eZ"  
:0(^^6Q\  
struts.freemarker.manager.classname IT=y+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class HaL'/V~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Z1 )1s  
BZhf/{h[@  
struts.i18n.encoding esZhX)dS  
      The encoding to use for localization messages 6bs-&Vf  
      国际化信息内码 Ga9iPv  
I 2AQ G  
struts.i18n.reload x1`w{5;C 2  
      Whether the localization messages should automatically be reloaded }~&0<8m  
      是否国际化信息自动加载 [mwqCW&  
CR.d3!&28  
struts.locale  1H.;r(c  
      The default locale for the Struts application ~]no7O4  
      默认的国际化地区信息 `+(n+QS _  
bxPa|s?  
struts.mapper.class kD+#|f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Zs}h>$E5_B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 PW%ith1)<  
vv)w@A:Vn)  
struts.multipart.maxSize y|B HSc3  
      The maximize size of a multipart request (file upload) uPcx6X3]  
      multipart请求信息的最大尺寸(文件上传用) q]f7D\ M  
i@6g9\x+  
struts.multipart.parser |FT.x9e-  
      The org.apache.struts2.dispatcher.multipart. 6'mZM=d  
      MultiPartRequest parser implementation for a multipart request (file upload) ~t2" L|i  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U) xeta+  
+%[, m&  
 *`qI<]!  
struts.multipart.saveDir w(_:+-rqQ<  
      The directory to use for storing uploaded files Ux?G:LLz  
      设置存储上传文件的目录夹 D1deh=  
?>ZrdfTwz,  
struts.objectFactory 7>@0nHec  
      The com.opensymphony.xwork2.ObjectFactory implementation class 20 $Tky_  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ik?IC$*n3i  
.e5@9G.jb  
struts.objectFactory.spring.autoWire B!`.,3  
      Whether Spring should autoWire or not 65@GXn[W_  
      是否自动绑定Spring >Giw\|:f(  
jxW/"Q   
struts.objectFactory.spring.useClassCache xS/=9l/G  
      Whether Spring should use its class cache or not X`&Us  
      是否spring应该使用自身的cache n::i$ZUdK  
q2|z \  
struts.objectTypeDeterminer _"D J|j  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $A74V [1^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %#4;'\'5  
qooTRqc#,  
struts.serve.static.browserCache 7o+VhW<|5  
If static content served by the Struts filter should set browser caching header properties or not 3Jd a:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &q4~WRnzJk  
_}\KC+n8  
struts.serve.static ~FI} [6Dd  
      Whether the Struts filter should serve static content or not cuG;1,?b  
      是否struts过滤器应该提供静态内容 l0yflFGr  
y#Nrq9r:  
struts.tag.altSyntax S]T71W<i  
      Whether to use the alterative syntax for the tags or not <MO40MP  
      是否可以用替代的语法替代tags z,C>Rh9Id  
4 }_}3.  
struts.ui.templateDir u-n$%yDS  
      The directory containing UI templates ZA_~o#0%  
      UI templates的目录夹 >>R)?24,<  
 ;1,#rTs  
struts.ui.theme +LWgby4q  
      The default UI template theme # 6?2 2Os  
      默认的UI template主题 GQ.akA_(  
gQ '=mU  
struts.url.http.port ?OO !M  
      The HTTP port used by Struts URLs YP"%z6N@v  
      设置http端口 #/`MYh=!W  
{az LtTh  
struts.url.https.port OB(~zUe.R  
      The HTTPS port used by Struts URLs  wN0?~  
      设置https端口 kz#x6NXj  
e6gj'GmY  
struts.url.includeParams ;SA+| ,  
      The default includeParams method to generate Struts URLs $1Z3yb^  
      在url中产生 默认的includeParams -xH3}K%  
A-\n"}4  
y fS  
struts.velocity.configfile [sPLu)q2  
      The Velocity configuration file path 75Bn p9  
      velocity配置文件路径 Oh`Pf;.z%  
)d {8Cu6  
struts.velocity.contexts Y'6P ~C;v  
      List of Velocity context names u4=ulgi  
      velocity的context列表 hoPh#? G  
.b*-GWx  
0B`rTLwB  
struts.velocity.manager.classname _#P5j#  
      org.apache.struts2.views.velocity.VelocityManager implementation class eBECY(QMQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 g2r8J0v  
=o"sBVj  
struts.velocity.toolboxlocation G in  
      The location of the Velocity toolbox \=W t{  
      velocity工具盒的位置 :e_yOT}}  
struts.xslt.nocache lQ.3_{"s  
      Whether or not XSLT templates should not be cached /KJWo0zo  
      是否XSLT模版应该被缓存 kP~ ;dJD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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