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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 g_;5"  
m hJ>5z  
struts.action.extension -qfd)A6]  
      The URL extension to use to determine if the request is meant for a Struts action #@BM1BpQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I5'^tBf[{  
V'c9DoSRI\  
struts.configuration Fdd$Bl.&XS  
      The org.apache.struts2.config.Configuration implementation class OTtSMO  
        org.apache.struts2.config.Configuration接口名 H(Mlf  
iJ42` 51  
struts.configuration.files tnqW!F~  
      A list of configuration files automatically loaded by Struts /r@P\_  
      struts自动加载的一个配置文件列表 \|R`wFn^P  
QC~B8]  
struts.configuration.xml.reload SynxMUlA  
      Whether to reload the XML configuration or not l1jS2O(  
      是否加载xml配置(true,false) W#e:rz8=  
r&}fn"H!  
struts.continuations.package l*_b)&CH  
      The package containing actions that use Rife continuations IaE};8a8  
      含有actions的完整连续的package名称 OW)8Z 60  
aO "JT  
struts.custom.i18n.resources 6BW-AZc  
      Location of additional localization properties files to load rd]HoFE  
      加载附加的国际化属性文件(不包含.properties后缀) }n=Tw92g  
.)|jBC8|}  
struts.custom.properties Y8.0R-:ZAN  
      Location of additional configuration properties files to load y>2v 9;Qp  
      加载附加的配置文件的位置 %'\D _W&  
C,]Q/6'>  
<WaiJy?  
struts.devMode PZLWyp  
      Whether Struts is in development mode or not ] 5P{*  
      是否为struts开发模式 #.9Xkn9S  
BxZ}YS:  
struts.dispatcher.parametersWorkaround }y|% wym  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Uvf-h4^J]:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /qI80KVnN  
9<7Q{  
struts.enable.DynamicMethodInvocation $0LlaN@e  
      Allows one to disable dynamic method invocation from the URL a9QaFs"  
        允许动态方法调用 cJ]`/YJ  
 t8GJ;  
struts.freemarker.manager.classname HLYM(Pz  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =Z#tZ{"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A6iyJFm D  
i=o>Bl@f  
struts.i18n.encoding -rH4/Iby  
      The encoding to use for localization messages <py~(q  
      国际化信息内码 2yq.<Wz<  
ui9gt"qS`  
struts.i18n.reload +6gS]  
      Whether the localization messages should automatically be reloaded b@1QE  
      是否国际化信息自动加载 7azxqa5:  
2#/ KS^  
struts.locale ]Wd{4(b  
      The default locale for the Struts application 42z9N\ f  
      默认的国际化地区信息 W\} VZY  
A*E4hop[  
struts.mapper.class ,z%F="@b9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Crpk q/M  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ::TUSz2/2  
bL0+v@(r  
struts.multipart.maxSize s ]QzNc  
      The maximize size of a multipart request (file upload) i":-g"d  
      multipart请求信息的最大尺寸(文件上传用) 3M1(an\nW  
e1<28g  
struts.multipart.parser "a,Tc2xk  
      The org.apache.struts2.dispatcher.multipart. @Zq,mPaR$  
      MultiPartRequest parser implementation for a multipart request (file upload) _LK>3S qd  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Iu1P}R>C  
N`iK1n4 X  
X]1ep  
struts.multipart.saveDir X/7: *  
      The directory to use for storing uploaded files ,\=u(Y\I[  
      设置存储上传文件的目录夹 1>1|>%  
{'!D2y.7g  
struts.objectFactory L~mL9[(,  
      The com.opensymphony.xwork2.ObjectFactory implementation class u'32nf?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) VwC, +B  
]KuK\(\  
struts.objectFactory.spring.autoWire x,7a xx6  
      Whether Spring should autoWire or not i"e) LJz  
      是否自动绑定Spring [MiD%FfcNH  
ZgXh[UHQy  
struts.objectFactory.spring.useClassCache qtgK}*9ptv  
      Whether Spring should use its class cache or not %mcuYR'D}  
      是否spring应该使用自身的cache G^2"\4R]p  
xE6y9"}!h  
struts.objectTypeDeterminer s?`)[K'-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /`s^.Xh  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P$pl  
P?0b-Qr$a  
struts.serve.static.browserCache Ak_;GvC!  
If static content served by the Struts filter should set browser caching header properties or not U;jk+i  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 o9~qJnB/O  
pp{);  
struts.serve.static U-lN_?  
      Whether the Struts filter should serve static content or not "lz!'~im  
      是否struts过滤器应该提供静态内容 yTDoS|B+)  
"(C }Dn#  
struts.tag.altSyntax e<C5}#wt  
      Whether to use the alterative syntax for the tags or not /FYa{.Vlr  
      是否可以用替代的语法替代tags 5;|9bWH  
1qQgAhoY  
struts.ui.templateDir rg'? ?rq  
      The directory containing UI templates Pc(2'r@#  
      UI templates的目录夹 3BSeZ:j7  
CZa9hsM  
struts.ui.theme p}Gk|Kjlq,  
      The default UI template theme " 3^6  
      默认的UI template主题 '[juPI(!  
eq@ v2o7  
struts.url.http.port jr9ZRHCU  
      The HTTP port used by Struts URLs 3p^WTQ>(  
      设置http端口 d&ZwVF!  
4\$Ze0tv  
struts.url.https.port /60[T@Mz  
      The HTTPS port used by Struts URLs ;^*^ :L  
      设置https端口 {:oZ&y)Ac  
*508PY  
struts.url.includeParams =Q|}7g8o  
      The default includeParams method to generate Struts URLs 9 /zz@  
      在url中产生 默认的includeParams '<}7bw}+c  
!^LvNW\|  
L,D!T&B  
struts.velocity.configfile kfVG@o?o  
      The Velocity configuration file path Tbwq_3f K  
      velocity配置文件路径 n >eIQaV  
+}Q4 g]M8  
struts.velocity.contexts c:$:j,i}  
      List of Velocity context names JPpYT~4  
      velocity的context列表 z%AIv%  
q2 f/#"k  
q%y_<Fw#E  
struts.velocity.manager.classname sZbzY^P  
      org.apache.struts2.views.velocity.VelocityManager implementation class O%)9t FT  
      org.apache.struts2.views.velocity.VelocityManager接口名 MkYem6  
z44uhRh  
struts.velocity.toolboxlocation B!N807  
      The location of the Velocity toolbox NrU -%!Aw  
      velocity工具盒的位置 BT#>b@Xub  
struts.xslt.nocache pUwX cy<n  
      Whether or not XSLT templates should not be cached uo65i 1oi  
      是否XSLT模版应该被缓存 nAX |=qp#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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