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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 pb%#`2"  
,WOF)   
struts.action.extension c7\bA7.  
      The URL extension to use to determine if the request is meant for a Struts action if5Y!Tx?G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _| 8"&*T^  
=Ak>2  
struts.configuration (p} N9n$  
      The org.apache.struts2.config.Configuration implementation class MC#bo{Bq3-  
        org.apache.struts2.config.Configuration接口名 w & RpQcV  
B4R,[WE"  
struts.configuration.files 3|:uIoR{  
      A list of configuration files automatically loaded by Struts j<deTK;.  
      struts自动加载的一个配置文件列表 any\}   
&P3B  
struts.configuration.xml.reload >K\ 79<x|  
      Whether to reload the XML configuration or not >mF`XbS  
      是否加载xml配置(true,false) EZP2Bb5g  
#<'/s qL  
struts.continuations.package %n}.E30 4  
      The package containing actions that use Rife continuations x6DH0*[.  
      含有actions的完整连续的package名称 1rPeh{SZ  
}T c)M_  
struts.custom.i18n.resources PLLlo~Bb  
      Location of additional localization properties files to load .h+<m7  
      加载附加的国际化属性文件(不包含.properties后缀) kj0A%q#'}  
z5'VsK:  
struts.custom.properties '&<-,1^L  
      Location of additional configuration properties files to load Wq{'ZN  
      加载附加的配置文件的位置 r)j#Skh].  
XVv7W5/q]  
hChM hc  
struts.devMode rW\~sTH  
      Whether Struts is in development mode or not La9@h"  
      是否为struts开发模式 T[Gz  
}4 $EN  
struts.dispatcher.parametersWorkaround D 0n2r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D[-Ct  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Gj)Qw 6  
+^69>L2V  
struts.enable.DynamicMethodInvocation p`d:g BZ  
      Allows one to disable dynamic method invocation from the URL 4|+ |L_  
        允许动态方法调用 ]`4 QJ ;#  
;%k%AXw  
struts.freemarker.manager.classname h,p&/oU4U  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  zIAMM  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 I(7gmCV  
z:fhq:R(  
struts.i18n.encoding v<c Hx/  
      The encoding to use for localization messages X r)d;@yi  
      国际化信息内码 LA wS8t',  
{W4t]Ff  
struts.i18n.reload 9Akwr}  
      Whether the localization messages should automatically be reloaded cEQa 6  
      是否国际化信息自动加载 x4( fW\  
ih;TQ!c+b  
struts.locale Fh/C{cX9g  
      The default locale for the Struts application ~Igo 8ykl  
      默认的国际化地区信息 oaXD^ H\  
./g#<  
struts.mapper.class `fV$'u  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kg@J.   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @"EX%v.  
e.kt]l  
struts.multipart.maxSize X'F$K!o*,:  
      The maximize size of a multipart request (file upload) c]&VUWQ  
      multipart请求信息的最大尺寸(文件上传用) $Yxy(7d7w  
f 0#V^[%Q  
struts.multipart.parser 2M1mdkP3  
      The org.apache.struts2.dispatcher.multipart. e/3hb)#;  
      MultiPartRequest parser implementation for a multipart request (file upload) lKwcT!Q4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {p\KB!Y-  
P3|<K-dFAK  
u'b_zlW@  
struts.multipart.saveDir O^$Zz<  
      The directory to use for storing uploaded files 0cbF.Um8  
      设置存储上传文件的目录夹 od fu7P_  
PWU#`>4  
struts.objectFactory .0ZvCv:>  
      The com.opensymphony.xwork2.ObjectFactory implementation class srkOa d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {ULnQ 6@  
7(;VUR%%.  
struts.objectFactory.spring.autoWire # 0 (\s@r.  
      Whether Spring should autoWire or not ?yb{DZ46  
      是否自动绑定Spring ;v'Y' !-J  
"8]170  
struts.objectFactory.spring.useClassCache pk4&-iu9  
      Whether Spring should use its class cache or not )1,&YJM*6l  
      是否spring应该使用自身的cache gD\}CxtG  
]*h}sn=  
struts.objectTypeDeterminer 19t*THgq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k}.nH"AQ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8gxLL59  
\nWpV7TSN  
struts.serve.static.browserCache !/zj7z !  
If static content served by the Struts filter should set browser caching header properties or not &O,$l3 P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g1|c?#fwo  
:JIPF=]fc  
struts.serve.static QAwj]_  
      Whether the Struts filter should serve static content or not do,X{\  
      是否struts过滤器应该提供静态内容 3\G=J  
]l'ki8  
struts.tag.altSyntax zJ`(LnV  
      Whether to use the alterative syntax for the tags or not 5XHkRcESZ  
      是否可以用替代的语法替代tags t@n (a  
cF vx* n  
struts.ui.templateDir bl<7[J.  
      The directory containing UI templates O2dgdtm  
      UI templates的目录夹 am3E7u/  
J.l%H U  
struts.ui.theme E}=NZqOB!  
      The default UI template theme mN el3J3  
      默认的UI template主题 $O8V!R*  
!X8R  
struts.url.http.port dDbC0} x/  
      The HTTP port used by Struts URLs 1_C6KS  
      设置http端口  )S;ps  
pQ{t< >  
struts.url.https.port JrTBe73.]j  
      The HTTPS port used by Struts URLs T}[vfIJD  
      设置https端口 ""^BW Re D  
z]AS@}wWqg  
struts.url.includeParams 2*YXm>|1  
      The default includeParams method to generate Struts URLs mU$7_7V~  
      在url中产生 默认的includeParams -RQQ|:O$  
yZ$;O0f&&  
Zr;=p"cXr  
struts.velocity.configfile J*X.0&Toc  
      The Velocity configuration file path KBe {  
      velocity配置文件路径 _|:bac8pL  
F@bCm+z-  
struts.velocity.contexts {VG[m@  
      List of Velocity context names p|V1Gh<  
      velocity的context列表 9[E$>o"%  
Aq'E:/  
NV4W2thYo  
struts.velocity.manager.classname d}cJ5 !d  
      org.apache.struts2.views.velocity.VelocityManager implementation class >C&<dO#i  
      org.apache.struts2.views.velocity.VelocityManager接口名 F)ld@Ydk=  
\<x_96jt!\  
struts.velocity.toolboxlocation H)aC'M^  
      The location of the Velocity toolbox , %O3^7i  
      velocity工具盒的位置 < DZ76  
struts.xslt.nocache !BuJC$  
      Whether or not XSLT templates should not be cached 6XK`=ss?  
      是否XSLT模版应该被缓存 A!Ct,%   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五