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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *2/qm:gB  
H.iCYD_=  
struts.action.extension Y>3zpeQ!&  
      The URL extension to use to determine if the request is meant for a Struts action tH; 6 Mp;f  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7R[7M%H  
^7>~y(  
struts.configuration !otseI!!/  
      The org.apache.struts2.config.Configuration implementation class %cDGs^lgA  
        org.apache.struts2.config.Configuration接口名 1E!.E=Y ?M  
6H2Bf*i  
struts.configuration.files -}4CY\d6'  
      A list of configuration files automatically loaded by Struts H[: lQ\  
      struts自动加载的一个配置文件列表 ,#BD/dF  
sK W~+ ]  
struts.configuration.xml.reload T]Q4=xsv  
      Whether to reload the XML configuration or not tkm@&e=e%  
      是否加载xml配置(true,false) E3p$^['vx  
whe%o  
struts.continuations.package lE%KzX?&  
      The package containing actions that use Rife continuations H/`@6, j  
      含有actions的完整连续的package名称 A- m IWTa  
3%r/w7Fc  
struts.custom.i18n.resources @Oz3A<M  
      Location of additional localization properties files to load ~pH!.|k-&  
      加载附加的国际化属性文件(不包含.properties后缀) !/H `   
=?4[:#Rh  
struts.custom.properties ]O:u9If  
      Location of additional configuration properties files to load }s?w-u+(c6  
      加载附加的配置文件的位置 xX<T5Ls  
|1H9,:*%  
n|WSnm,W  
struts.devMode o3Yb2Nw  
      Whether Struts is in development mode or not eu)""l  
      是否为struts开发模式 ;Q&9 t  
fup?Mg-  
struts.dispatcher.parametersWorkaround d^54mfgI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6qmV/DL  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,_V/W'  
Tt{X(I} J  
struts.enable.DynamicMethodInvocation '`gnJX JO  
      Allows one to disable dynamic method invocation from the URL !|V_DsP  
        允许动态方法调用 ,>qtnwvlHP  
L Y4bn)Qf  
struts.freemarker.manager.classname $s ,g&7*-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class si~zg\uY  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .P T7  
F@ |(  
struts.i18n.encoding @6|0H`kv  
      The encoding to use for localization messages [oBRH]9cq  
      国际化信息内码 Ivcy=W=Jk  
hN0h'JJ[7  
struts.i18n.reload T ;84Sv  
      Whether the localization messages should automatically be reloaded " +{2!  
      是否国际化信息自动加载 <2 kv/  
O5:U2o-  
struts.locale 'S74Ys=-0  
      The default locale for the Struts application Nf* .r  
      默认的国际化地区信息 D|$0~1y  
F@ pf._c  
struts.mapper.class K&{ _s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Lwm /[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !]7b31$M_  
j p}.W  
struts.multipart.maxSize =^Ws/k  
      The maximize size of a multipart request (file upload) (7,Q4T  
      multipart请求信息的最大尺寸(文件上传用) c3rj :QK6I  
opn6 C )  
struts.multipart.parser wNl6a9#  
      The org.apache.struts2.dispatcher.multipart. *'-C/  
      MultiPartRequest parser implementation for a multipart request (file upload) ;#Qv )kS*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bhg6p$411  
6Rif&W.xy  
GU1cMe  
struts.multipart.saveDir 5i{J0/'Xu)  
      The directory to use for storing uploaded files sm[zE /2b  
      设置存储上传文件的目录夹 FncP,F$8   
wj'fdrY5h  
struts.objectFactory "5$p=|  
      The com.opensymphony.xwork2.ObjectFactory implementation class bs% RWwn  
      com.opensymphony.xwork2.ObjectFactory接口(spring) FB,rQ9D  
s/>0gu]A8  
struts.objectFactory.spring.autoWire ./DlHS;  
      Whether Spring should autoWire or not >D##94PZ  
      是否自动绑定Spring h<'tQGC  
Kx[+$Qt  
struts.objectFactory.spring.useClassCache )B-[Q#*A-  
      Whether Spring should use its class cache or not #@V<{/;49  
      是否spring应该使用自身的cache .2rpQa/h  
;sUvY*Bcm  
struts.objectTypeDeterminer cw0 @Z0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R vU'8Y?>w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /IX555/dR1  
(?7}\B\  
struts.serve.static.browserCache  -y_q  
If static content served by the Struts filter should set browser caching header properties or not 6r%i=z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3*7klu  
e8_EB/)_Z  
struts.serve.static M $EHx[*5  
      Whether the Struts filter should serve static content or not HpeU'0u0VK  
      是否struts过滤器应该提供静态内容 E)p[^1WC  
^xgPL'  
struts.tag.altSyntax .DnG}884  
      Whether to use the alterative syntax for the tags or not KL(s Vj^e  
      是否可以用替代的语法替代tags 7FaF]G  
/{[tU-}qJ  
struts.ui.templateDir #{k+^7aQ  
      The directory containing UI templates cj2^wmkB  
      UI templates的目录夹 u]9 #d^%V  
NYxL7:9  
struts.ui.theme 8U]mr+  
      The default UI template theme 09Q5gal  
      默认的UI template主题 nemC-4}  
A3q#,%  
struts.url.http.port !iX/Ni:  
      The HTTP port used by Struts URLs hSps9*y  
      设置http端口 s nNd7v.U6  
sQr M"i0Y>  
struts.url.https.port Sy*p6DP  
      The HTTPS port used by Struts URLs ?< Ma4yl</  
      设置https端口 ofYZ! -V  
:UKc:JVNM  
struts.url.includeParams ycIcM~<4  
      The default includeParams method to generate Struts URLs 8{&.[S C7  
      在url中产生 默认的includeParams %l%2 hvGZ  
?d3<GhzlR3  
w&hCt c  
struts.velocity.configfile [%Z{Mp'g  
      The Velocity configuration file path ?aB%h |VA  
      velocity配置文件路径 }KftV nD?  
SFEDR?s   
struts.velocity.contexts (A?w|/bZd  
      List of Velocity context names 0}:Wh&g  
      velocity的context列表 HYJEz2RF  
O ~[[JAi[  
_3g!_  
struts.velocity.manager.classname "-IF_Hid  
      org.apache.struts2.views.velocity.VelocityManager implementation class -" r4  
      org.apache.struts2.views.velocity.VelocityManager接口名 GbkDs-  
Vhn Ir#L+  
struts.velocity.toolboxlocation {?cF2K#  
      The location of the Velocity toolbox x'Nc}  
      velocity工具盒的位置 RO[X #c  
struts.xslt.nocache {?mb.~(  
      Whether or not XSLT templates should not be cached QPFv]^s(  
      是否XSLT模版应该被缓存 ?l|&JgJ$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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