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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4?+jvVq  
;.rY`<|  
struts.action.extension \KS.A 4  
      The URL extension to use to determine if the request is meant for a Struts action #_|O93HN'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g_! xD;0  
)]LP8 J&  
struts.configuration /{P-WRz>  
      The org.apache.struts2.config.Configuration implementation class ep0dT3&  
        org.apache.struts2.config.Configuration接口名 <r(D\rmD  
:6&#u.\u  
struts.configuration.files ]"?<y s  
      A list of configuration files automatically loaded by Struts vP+qwvpGr  
      struts自动加载的一个配置文件列表 HV7f%U  
T\ukJ25!  
struts.configuration.xml.reload +JM@kdE5b  
      Whether to reload the XML configuration or not f*IvaY  
      是否加载xml配置(true,false) _y sakn  
!qHB?]  
struts.continuations.package yjq|8.L[ G  
      The package containing actions that use Rife continuations 0LSJQ9\p  
      含有actions的完整连续的package名称 [0]J 2  
XX "3.zW  
struts.custom.i18n.resources YXh!+}  
      Location of additional localization properties files to load Zz]/4 4t  
      加载附加的国际化属性文件(不包含.properties后缀) ]0SqLe  
9qB4\ONXZ  
struts.custom.properties 1C]BaPbL  
      Location of additional configuration properties files to load  p: eaZ  
      加载附加的配置文件的位置 "q!*RO'a  
l8 $.k5X  
\qlz<   
struts.devMode vlipB}  
      Whether Struts is in development mode or not c/:k|x  
      是否为struts开发模式 ZG{#CC=  
O3%#Q3c>3  
struts.dispatcher.parametersWorkaround fZLAZMrM  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8<32(D{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E1`_[=8a9  
R~|(]#com  
struts.enable.DynamicMethodInvocation jGo\_O<of  
      Allows one to disable dynamic method invocation from the URL qn,fx6v4  
        允许动态方法调用 +x/vZXtOK  
>6@,L+-6r  
struts.freemarker.manager.classname &3x da1H  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?^^TR/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 uq7/G|  
^#K^WV  
struts.i18n.encoding skTtGz8R[  
      The encoding to use for localization messages .7:ecFKk  
      国际化信息内码 R9D2cu,{  
6+"gk(  
struts.i18n.reload &p*rEs  
      Whether the localization messages should automatically be reloaded 84i0h$ZZo  
      是否国际化信息自动加载 p,uM)LD  
Q`4I a<5B  
struts.locale }W[=O:p  
      The default locale for the Struts application h|i b*%P_  
      默认的国际化地区信息 1jAuW~  
eNM"e-  
struts.mapper.class =UWW(^M#[:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {sj{3Iu  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 aGws?<1$  
'z)cieFKP  
struts.multipart.maxSize so| U&`G  
      The maximize size of a multipart request (file upload) <X5ge>.  
      multipart请求信息的最大尺寸(文件上传用) $fT#Wva-\d  
,t9CP  
struts.multipart.parser -mo4`F  
      The org.apache.struts2.dispatcher.multipart. -7o-d-d F  
      MultiPartRequest parser implementation for a multipart request (file upload) ac966<#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _\= /~>Xl  
4cJ/XgX  
*,*XOd:3TL  
struts.multipart.saveDir gw%L M7yQR  
      The directory to use for storing uploaded files :S!!J*0  
      设置存储上传文件的目录夹 {a9.0N:4  
~ahu{A4Bw  
struts.objectFactory CyB4apJ  
      The com.opensymphony.xwork2.ObjectFactory implementation class <1:I[b  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {i3=N{5b  
] \!,yiVeU  
struts.objectFactory.spring.autoWire #e[r0f?U  
      Whether Spring should autoWire or not ,9ew75Jl  
      是否自动绑定Spring E @Rb+8},"  
U!RIeC  
struts.objectFactory.spring.useClassCache a5d_= :S ;  
      Whether Spring should use its class cache or not TV0Y{x*~iH  
      是否spring应该使用自身的cache E8<,j})*  
Qv;b$by3  
struts.objectTypeDeterminer 0AoWw-H6V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class MBU4Awj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 No+BS%F5  
dldS7Q  
struts.serve.static.browserCache nLPd]%78>  
If static content served by the Struts filter should set browser caching header properties or not 322-'S3<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w vI v+Q9  
ed3wj3@  
struts.serve.static %\)AT"  
      Whether the Struts filter should serve static content or not }g|9P SbJ  
      是否struts过滤器应该提供静态内容 m6 Y0,9  
A2\3.3  
struts.tag.altSyntax /'_Yct=  
      Whether to use the alterative syntax for the tags or not hw)z]  
      是否可以用替代的语法替代tags J9y}rGO  
+bb-uoZf  
struts.ui.templateDir wqap~X  
      The directory containing UI templates S@~ReRew2  
      UI templates的目录夹 f}ch1u>  
fjuPGg~  
struts.ui.theme *#@{&Q(Qh  
      The default UI template theme ,:V[H8 ?  
      默认的UI template主题 1:./f|m  
I?%#`Rvu  
struts.url.http.port iU=:YPE+ .  
      The HTTP port used by Struts URLs u09D`QPP]  
      设置http端口 +>c%I&h}`  
+#A~O4%t  
struts.url.https.port Q7UQwAN'  
      The HTTPS port used by Struts URLs 3hzz*9/n  
      设置https端口 L}A2$@  
nvc(<Ovw  
struts.url.includeParams Ywcgt|  
      The default includeParams method to generate Struts URLs q6%m .X7  
      在url中产生 默认的includeParams t+^__~IX  
@ Yo*h"s  
9\kEyb$F=  
struts.velocity.configfile 04}c_XFFE  
      The Velocity configuration file path Y;dqrA>@  
      velocity配置文件路径 ]~ S zb  
nf:wJ-;*  
struts.velocity.contexts 2uF'\y  
      List of Velocity context names {W%XS E  
      velocity的context列表 oL!C(\ERh  
4Yt'I#*  
}?O>.W,/  
struts.velocity.manager.classname B2WPbox  
      org.apache.struts2.views.velocity.VelocityManager implementation class c`\qupnY  
      org.apache.struts2.views.velocity.VelocityManager接口名 /N./l4D1K-  
p6Ia)!xOGF  
struts.velocity.toolboxlocation BE0Xg  
      The location of the Velocity toolbox %;Z_`W  
      velocity工具盒的位置 A,7* 52U  
struts.xslt.nocache .hoVy*I  
      Whether or not XSLT templates should not be cached hVJ}EF 0  
      是否XSLT模版应该被缓存 d4A:XNKB  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八