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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Z?V vFEt%  
(:\L@j  
struts.action.extension h<8c{RuoZC  
      The URL extension to use to determine if the request is meant for a Struts action f1sp6S0V\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $4qM\3x0,  
#2"'tHf4  
struts.configuration 9+/D\|"{  
      The org.apache.struts2.config.Configuration implementation class +SW|/oIU  
        org.apache.struts2.config.Configuration接口名 G~ LQM  
@"wX#ot  
struts.configuration.files (!qfd Qq#  
      A list of configuration files automatically loaded by Struts fjY:u,5V_  
      struts自动加载的一个配置文件列表 %LD(S*>7  
[j0jAl  
struts.configuration.xml.reload Q2:r WE{K!  
      Whether to reload the XML configuration or not v`G}sgn  
      是否加载xml配置(true,false) lCBH3-0^  
,~DKU*A_~  
struts.continuations.package gZBKe!@a|  
      The package containing actions that use Rife continuations ]7oo`KcQ|  
      含有actions的完整连续的package名称 ,X;$-.  
h:sf?X[  
struts.custom.i18n.resources ,H8M.hbsQ  
      Location of additional localization properties files to load b80&${v  
      加载附加的国际化属性文件(不包含.properties后缀) /I{K_G@  
?M6)O?[  
struts.custom.properties K\zb+  
      Location of additional configuration properties files to load } E[vW  
      加载附加的配置文件的位置 'Yh`B8  
Dy 8H(_  
(bpRX$is  
struts.devMode (ti!Y"e2  
      Whether Struts is in development mode or not o*2Mjd]r  
      是否为struts开发模式 #p]V?  
uy~$ :0o  
struts.dispatcher.parametersWorkaround A (p^Q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OW@"j;6 3`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :$gs7<z{rm  
p=#/H ,2  
struts.enable.DynamicMethodInvocation b5I 8jPj4c  
      Allows one to disable dynamic method invocation from the URL S)W?W}*R\  
        允许动态方法调用 ecO$L<9>  
:RwURv+kT  
struts.freemarker.manager.classname qnnRS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 94|ZY}8|f  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [_(uz,'  
:UAcS^n7h"  
struts.i18n.encoding />pAZa  
      The encoding to use for localization messages vK+!m~kDu  
      国际化信息内码 DY{v@ <3  
G)c+GoK  
struts.i18n.reload T 1_B0H2  
      Whether the localization messages should automatically be reloaded 0c1=M|2  
      是否国际化信息自动加载 8~~ k?  
(I(U23A~  
struts.locale _a|g >  
      The default locale for the Struts application D>ou,  
      默认的国际化地区信息 B&y?Dc  
9_.pLLx  
struts.mapper.class |T/s>OW  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @ &rf?:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -AU'1iRcK7  
QMmZvz\^  
struts.multipart.maxSize s{{8!Q  
      The maximize size of a multipart request (file upload) 'tcve2Tt  
      multipart请求信息的最大尺寸(文件上传用) ~66v.`K!  
g1_z=(i`Z  
struts.multipart.parser ?^MH:o  
      The org.apache.struts2.dispatcher.multipart. .Cs'@[Ciy  
      MultiPartRequest parser implementation for a multipart request (file upload) .IVKgQ B  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J><hrZ  
"gzn%k[D9m  
vu}U2 0@  
struts.multipart.saveDir 'HCRi Z<  
      The directory to use for storing uploaded files o?~27   
      设置存储上传文件的目录夹 .F2"tt?'  
qJO6m-  
struts.objectFactory %e)vl[:}  
      The com.opensymphony.xwork2.ObjectFactory implementation class Y,EF'Ot  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;]=@;? 9  
o4@d,uIw^  
struts.objectFactory.spring.autoWire iT s" RW  
      Whether Spring should autoWire or not w7Mh8'P54  
      是否自动绑定Spring |9Yx`_DF  
.6y*Z+Zg  
struts.objectFactory.spring.useClassCache lbw+!{Ch  
      Whether Spring should use its class cache or not 2 e#"JZ=  
      是否spring应该使用自身的cache ^k{/Yl  
4:733Q3oK  
struts.objectTypeDeterminer m=/HUt3(&0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mA_EvzXk\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;-l^X%r  
Ux{QYjF E  
struts.serve.static.browserCache }H saJ=1U  
If static content served by the Struts filter should set browser caching header properties or not w(X}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 * CAz_s<  
k>8OxpaWv?  
struts.serve.static _3O*"S=1  
      Whether the Struts filter should serve static content or not KL9JA; "  
      是否struts过滤器应该提供静态内容 yB=R7E7  
2 n2,MB  
struts.tag.altSyntax w40*vBz  
      Whether to use the alterative syntax for the tags or not sSD&'K=lq  
      是否可以用替代的语法替代tags yd'cLZd<}  
H@ty'z?  
struts.ui.templateDir AW9%E/{  
      The directory containing UI templates DT6 BFx  
      UI templates的目录夹 ,?Vxcr  
*UJB *r  
struts.ui.theme _ Qek|>  
      The default UI template theme ,I+O;B:0  
      默认的UI template主题  G;A  
I")Ud?v0)  
struts.url.http.port s?nj@:4  
      The HTTP port used by Struts URLs 3UZ_1nY  
      设置http端口 D&@ js!|5  
xdY'i0fh  
struts.url.https.port -;RAW1]}Y$  
      The HTTPS port used by Struts URLs V:+vB "  
      设置https端口 .L^;aL  
^h#A7 g  
struts.url.includeParams + iQ~ Y2Gh  
      The default includeParams method to generate Struts URLs &hi][Pt  
      在url中产生 默认的includeParams +9' )G-`qj  
pCa~:q*85  
W?.xtQEv  
struts.velocity.configfile jv1p'qs4  
      The Velocity configuration file path K@!hrye  
      velocity配置文件路径 Z/v )^VR  
?qn4 ea-\P  
struts.velocity.contexts 5H 1x-b  
      List of Velocity context names ;eO Ye3;c  
      velocity的context列表 rXip"uz(K>  
S"87 <o  
}v?l0Gk(  
struts.velocity.manager.classname #^ .G^d(=  
      org.apache.struts2.views.velocity.VelocityManager implementation class E)X_  
      org.apache.struts2.views.velocity.VelocityManager接口名 t*6C?zEAU  
IBNb!mPu%  
struts.velocity.toolboxlocation  #.Ly  
      The location of the Velocity toolbox 4"{g{8  
      velocity工具盒的位置 >qGWDCKr  
struts.xslt.nocache /w2IL7}  
      Whether or not XSLT templates should not be cached ~{kA;uw  
      是否XSLT模版应该被缓存 $[J\sokpY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五