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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 bnm3 cR:h"  
'&|]tu:q  
struts.action.extension 7[b]%i  
      The URL extension to use to determine if the request is meant for a Struts action +Vf39}8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 aS7%x>.A!  
b6LwKUl  
struts.configuration B(omD3jzN  
      The org.apache.struts2.config.Configuration implementation class  .L vg $d  
        org.apache.struts2.config.Configuration接口名 U,Duq^l~s  
K<3$>/|  
struts.configuration.files 3Mw2;.rk  
      A list of configuration files automatically loaded by Struts MV~-']2u  
      struts自动加载的一个配置文件列表 Gx$rk<;ZW  
=VctG>ct|  
struts.configuration.xml.reload ,^>WC G  
      Whether to reload the XML configuration or not Py3Y*YP  
      是否加载xml配置(true,false) 2&k5X-Y  
2f=7`1RCD  
struts.continuations.package PN +<C7/  
      The package containing actions that use Rife continuations S>'S4MJE`  
      含有actions的完整连续的package名称 qM|-2Zl!+  
.2si[:_(p  
struts.custom.i18n.resources M[Kk43;QY!  
      Location of additional localization properties files to load dWCUZ,6}  
      加载附加的国际化属性文件(不包含.properties后缀) l$:.bwXXO  
l5}b.B^w  
struts.custom.properties W$l%= /  
      Location of additional configuration properties files to load 7n_'2qY  
      加载附加的配置文件的位置 +mr\AAFn  
Je5UVf3>2&  
RyxEZ7dC<y  
struts.devMode pO;BX5(x  
      Whether Struts is in development mode or not w'Cn3b)`  
      是否为struts开发模式 f\Fk+)e@  
=36e&z-#  
struts.dispatcher.parametersWorkaround N~w4|q!]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +Y:L4`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wl*"Vagb  
CQLh;W`Dc  
struts.enable.DynamicMethodInvocation |&>!"27;w  
      Allows one to disable dynamic method invocation from the URL @\!9dK-W  
        允许动态方法调用 0>E0}AvkT  
I>]t% YKj  
struts.freemarker.manager.classname LEUD6 M+~t  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Rilr)$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 SSS)bv8m  
g;>M{)A  
struts.i18n.encoding 5&uS700  
      The encoding to use for localization messages Xgy)Z:R  
      国际化信息内码 |?t6h 5Mt"  
~+y0UEtq7  
struts.i18n.reload 6iozb~!Rr  
      Whether the localization messages should automatically be reloaded )< 6zbG  
      是否国际化信息自动加载 {GaQV-t  
pY3N7&m\:  
struts.locale 0P5!fXs*  
      The default locale for the Struts application NjTVinz  
      默认的国际化地区信息 Kp|#04]  
~/@5&ajz  
struts.mapper.class .>(?c92  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class xr2ew%&o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C~2/ 5  
I82?sQ7  
struts.multipart.maxSize doCWJ   
      The maximize size of a multipart request (file upload) &wZ ggp  
      multipart请求信息的最大尺寸(文件上传用) JJvf!]  
sFEkxZi<  
struts.multipart.parser A%VBBvk  
      The org.apache.struts2.dispatcher.multipart. g5EdW=Dt,  
      MultiPartRequest parser implementation for a multipart request (file upload) c=YJ:&/5&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L"i B'=  
seFug  
mGQgy[gX  
struts.multipart.saveDir dYg}qad5:  
      The directory to use for storing uploaded files a0"gt"q A  
      设置存储上传文件的目录夹 +[ _)i9a  
2$D *~~  
struts.objectFactory Dm@wTt8N(  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6 ~b~[gA  
      com.opensymphony.xwork2.ObjectFactory接口(spring) CfMq?.4%E}  
TA47lz q  
struts.objectFactory.spring.autoWire q%4l!gzF3  
      Whether Spring should autoWire or not Z\=].[,w4  
      是否自动绑定Spring Nxu 10  
mm3goIi; Y  
struts.objectFactory.spring.useClassCache DPfP)J:~  
      Whether Spring should use its class cache or not r<;bArs-u  
      是否spring应该使用自身的cache ?VMj;+'tr  
)x.}B4z  
struts.objectTypeDeterminer Ae,-. xJ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mMqT-jT  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 rK*s/mX <  
^4LkKYMS  
struts.serve.static.browserCache \lKiUy/  
If static content served by the Struts filter should set browser caching header properties or not o~ .[sn5l-  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BoB2q(  
z_#B 4  
struts.serve.static P'#m1ntxQ  
      Whether the Struts filter should serve static content or not pti`q )  
      是否struts过滤器应该提供静态内容 QD LXfl/  
_=Y]ZX`j  
struts.tag.altSyntax Q? a&q0f  
      Whether to use the alterative syntax for the tags or not #q~SfG  
      是否可以用替代的语法替代tags L!E/ )#{  
W[o~AbU  
struts.ui.templateDir v{ .-x\;  
      The directory containing UI templates bz_Zk  
      UI templates的目录夹 p.q :vI$J  
g$~3@zD  
struts.ui.theme KQ3]'2q  
      The default UI template theme C #ng`7 q  
      默认的UI template主题 W|@EKE.k  
o #{D;'  
struts.url.http.port [~ bfM6Jw  
      The HTTP port used by Struts URLs <ns[( Q  
      设置http端口 m~9Qx`fi`  
CGIcuHp  
struts.url.https.port @FL?,_,Y{  
      The HTTPS port used by Struts URLs .-+_>br~  
      设置https端口 p5^,3&  
~$>l@> xX  
struts.url.includeParams k oo`JHC  
      The default includeParams method to generate Struts URLs ~oI7TP  
      在url中产生 默认的includeParams W-%oj.BMA  
~#iRh6 ^98  
_3h(R`VdWO  
struts.velocity.configfile ^~(vP:  
      The Velocity configuration file path goi.'8M|/b  
      velocity配置文件路径  (7x5  
I,vy__ sZ  
struts.velocity.contexts 1?"vKm  
      List of Velocity context names S =q.Y  
      velocity的context列表 !<]%V]5[_  
l2>G +t(,  
aQwcPy|1R  
struts.velocity.manager.classname b9[;qqq@'  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0\%/:2   
      org.apache.struts2.views.velocity.VelocityManager接口名 8Cz_LyL  
"K`B'/08^  
struts.velocity.toolboxlocation zcD&xoL\H  
      The location of the Velocity toolbox bT}P":*y  
      velocity工具盒的位置 CQ2{5  
struts.xslt.nocache EtJyI&7VK  
      Whether or not XSLT templates should not be cached * 7.!"rb8A  
      是否XSLT模版应该被缓存 Gvv~P3Dm  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五