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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 I'0@viF"Nx  
aX}P|l  
struts.action.extension J>bJ 449B  
      The URL extension to use to determine if the request is meant for a Struts action UCClWr  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z LD}a:s  
dB5b@9*  
struts.configuration >#y^;/bb  
      The org.apache.struts2.config.Configuration implementation class bAm(8nT7w  
        org.apache.struts2.config.Configuration接口名 }7.PH'.8  
;y2/-tL?  
struts.configuration.files d:U9pC$  
      A list of configuration files automatically loaded by Struts Zc`BiLzrIG  
      struts自动加载的一个配置文件列表 GHeVp/u  
se>MQM5 )  
struts.configuration.xml.reload .8G@%p{,  
      Whether to reload the XML configuration or not ,5*eX  
      是否加载xml配置(true,false) ksN+ ?E4w  
}I2@%tt?  
struts.continuations.package fOMW"myQ  
      The package containing actions that use Rife continuations PuZf/um  
      含有actions的完整连续的package名称 6<ZkJ:=  
 MEGv}  
struts.custom.i18n.resources O~^"  
      Location of additional localization properties files to load Os1>kwC  
      加载附加的国际化属性文件(不包含.properties后缀) }-6)gWe  
vt9)pMs  
struts.custom.properties L-k@-)98  
      Location of additional configuration properties files to load TTTPxO,  
      加载附加的配置文件的位置 ?C A,  
cu/5$m?xx  
9*1,!%]  
struts.devMode M L>[^F  
      Whether Struts is in development mode or not 8!Ww J Oe  
      是否为struts开发模式 u[ Yk  
6gs01c,BA  
struts.dispatcher.parametersWorkaround | ]X  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k<\$OoOZ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &E=>Hj(dTG  
SrK)t.oK  
struts.enable.DynamicMethodInvocation 8 {X"h#  
      Allows one to disable dynamic method invocation from the URL 3^6 d]f  
        允许动态方法调用 9B7^lR  
SV~~Q_U9  
struts.freemarker.manager.classname Aw5HF34J  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class S :<Nc{C  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Gnq?"</  
!_cg\K U#  
struts.i18n.encoding {R? U.eJW  
      The encoding to use for localization messages  _ "VkGG  
      国际化信息内码 e!=kWc  
%Va!\#  
struts.i18n.reload `.Qi?* ^  
      Whether the localization messages should automatically be reloaded pxh"B\"4*  
      是否国际化信息自动加载 bq:(u4 3  
I\$X/t +dH  
struts.locale Nu?-0>  
      The default locale for the Struts application K%RxwM  
      默认的国际化地区信息 7*Ej. HK  
j+,d^!  
struts.mapper.class +y3%3EKs1~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class aN8|J?JH  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 LBa[:j2  
3 C<L  
struts.multipart.maxSize cZ2kYn 8  
      The maximize size of a multipart request (file upload) !*%WuyCgr4  
      multipart请求信息的最大尺寸(文件上传用) ZP\-T*)l$  
mh{1*T$fP  
struts.multipart.parser -K3^BZ HI  
      The org.apache.struts2.dispatcher.multipart. n74V|b6W  
      MultiPartRequest parser implementation for a multipart request (file upload) ='Y!+  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gh8F 2V;<  
c5D)   
"$N+"3I  
struts.multipart.saveDir |~vI3]}fx  
      The directory to use for storing uploaded files .w8J*JZ  
      设置存储上传文件的目录夹 \S! e![L/  
wlqpn(XR  
struts.objectFactory k@3Q|na  
      The com.opensymphony.xwork2.ObjectFactory implementation class 283F)T\Rv  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2vWx)Drb6  
.Lsavpo  
struts.objectFactory.spring.autoWire 9#MBaO8_"  
      Whether Spring should autoWire or not zZ` _D|<m  
      是否自动绑定Spring ;CPr]avY  
[J4gH^Z_  
struts.objectFactory.spring.useClassCache E{Ov>osq  
      Whether Spring should use its class cache or not "q.\>MCv  
      是否spring应该使用自身的cache ^Uf]Q$uCjE  
G'ei/Me6{  
struts.objectTypeDeterminer .@@?Pj?)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K)DDk9*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 L"4mL,  
^5h]Y;tx  
struts.serve.static.browserCache r[b(I@T +  
If static content served by the Struts filter should set browser caching header properties or not SfaQvstN  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $4 S@  
to DG7XN}  
struts.serve.static dE4L=sTEsy  
      Whether the Struts filter should serve static content or not M$>1L  
      是否struts过滤器应该提供静态内容 3 +G$-ru  
bj>v|#r^  
struts.tag.altSyntax =pS5uR~  
      Whether to use the alterative syntax for the tags or not fj;y}t1E]  
      是否可以用替代的语法替代tags )W;o<:x3  
4;0lvDD  
struts.ui.templateDir 5n9B?T8C  
      The directory containing UI templates ]);%wy{Ho  
      UI templates的目录夹 Hn%xDJ'  
Vt".%d/`7  
struts.ui.theme +~mA}psr  
      The default UI template theme 3 I@}my1  
      默认的UI template主题 "2)H'<  
]dGw2y  
struts.url.http.port jw^<IMAG\8  
      The HTTP port used by Struts URLs hp5|@  
      设置http端口 '+?"iVVo  
3W3ZjdV+  
struts.url.https.port '":lB]hS  
      The HTTPS port used by Struts URLs LH kc7X$  
      设置https端口 e :%ieH<  
34%RZG_o'  
struts.url.includeParams odjT:Vr  
      The default includeParams method to generate Struts URLs ;7 E7!t^  
      在url中产生 默认的includeParams CsoiyY -2  
FrL]^59a  
FtfKe"qw  
struts.velocity.configfile -xEXN[\S  
      The Velocity configuration file path > dI LF  
      velocity配置文件路径 UQC=g  
`lO[x.[  
struts.velocity.contexts kT"Kyd  
      List of Velocity context names +'I+o5*  
      velocity的context列表 B&[M7i  
W;'!gpa  
qUob?| ^   
struts.velocity.manager.classname 2\jPv`Ia  
      org.apache.struts2.views.velocity.VelocityManager implementation class LWz&YF#T-  
      org.apache.struts2.views.velocity.VelocityManager接口名 / zB0J?  
=/y]d<g  
struts.velocity.toolboxlocation {f2S/$q  
      The location of the Velocity toolbox w[S pw<Z  
      velocity工具盒的位置 ^=RffrlZU  
struts.xslt.nocache G IT>L  
      Whether or not XSLT templates should not be cached Y&d00  
      是否XSLT模版应该被缓存 WJkZ!O$"j  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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