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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Snc; p  
}J ei$0x  
struts.action.extension W>5vRwx00  
      The URL extension to use to determine if the request is meant for a Struts action ^wx%CdFm'P  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 heE}_,$|  
ia%z+:G  
struts.configuration 8)^B32  
      The org.apache.struts2.config.Configuration implementation class F_A%8)N  
        org.apache.struts2.config.Configuration接口名 h4hN1<ky\  
j[ J 5y#  
struts.configuration.files YG0PxZmi  
      A list of configuration files automatically loaded by Struts C5O5S:|'  
      struts自动加载的一个配置文件列表 X,C*qw@  
B :.@Qi^  
struts.configuration.xml.reload _BZ1Vnv  
      Whether to reload the XML configuration or not CQ6'b,L&   
      是否加载xml配置(true,false) .]W ;2G  
q"gqO%Wb|  
struts.continuations.package qP~WEcH`[  
      The package containing actions that use Rife continuations ,?l~rc  
      含有actions的完整连续的package名称 G'ij?^?  
R)0N0gH  
struts.custom.i18n.resources NFk}3w:  
      Location of additional localization properties files to load )E'Fke  
      加载附加的国际化属性文件(不包含.properties后缀) 403[oOj  
YBb)/ZghY  
struts.custom.properties 0 HGlf  
      Location of additional configuration properties files to load &49u5&TiP  
      加载附加的配置文件的位置 :83,[;GO2  
,Bisu:v6FW  
?e F@Q !h  
struts.devMode $4Z+F#mx  
      Whether Struts is in development mode or not 0cHfxy3  
      是否为struts开发模式 K&=D-50%  
PJzc=XPU  
struts.dispatcher.parametersWorkaround +7,8w  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '.?^uM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b2N6L2~V  
 n;wwMMBM  
struts.enable.DynamicMethodInvocation I*EJHBsQ5  
      Allows one to disable dynamic method invocation from the URL Q,{^S,s<   
        允许动态方法调用 RFw(]o,9cR  
,4[dLWU  
struts.freemarker.manager.classname 4&Byl85q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !c%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 lC0~c=?J  
Q"40#RFA  
struts.i18n.encoding l , ..5   
      The encoding to use for localization messages qu_)`wB  
      国际化信息内码 u*2fP]n  
]kx-,M(  
struts.i18n.reload P0^c?s"I  
      Whether the localization messages should automatically be reloaded 5sCFzo<=vh  
      是否国际化信息自动加载 ;HDZ+B  
o]Gguw5W{  
struts.locale "'m)VG  
      The default locale for the Struts application |6aJwe+*  
      默认的国际化地区信息 tQWWgLM  
oL]mjo=jN  
struts.mapper.class Yu'a<5f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L>dkrr)e  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 r'/\HWNP  
Hkdf$$\  
struts.multipart.maxSize dL-i)F  
      The maximize size of a multipart request (file upload) Vtr3G.P^  
      multipart请求信息的最大尺寸(文件上传用) Ly;I,)w  
tJNIr5o  
struts.multipart.parser zh\$t]d<I  
      The org.apache.struts2.dispatcher.multipart. bNGCOj  
      MultiPartRequest parser implementation for a multipart request (file upload) w5`#q&?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GF8 -_X  
sYJL-2JX  
hq=,Z1J  
struts.multipart.saveDir #ly@;!M  
      The directory to use for storing uploaded files zJ+3g!  
      设置存储上传文件的目录夹 mzWP8Hlw  
\<~}o I  
struts.objectFactory N2BI_,hI1  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^T:gb]i'Qa  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?]c+j1 i  
DECB*9O ^  
struts.objectFactory.spring.autoWire xACdZB(  
      Whether Spring should autoWire or not 8$0\J_  
      是否自动绑定Spring wJe?t$ac?  
|~WYEh  
struts.objectFactory.spring.useClassCache UUeB;'E+  
      Whether Spring should use its class cache or not ?c]n^GvG  
      是否spring应该使用自身的cache Q $~n/  
Ytao"R/  
struts.objectTypeDeterminer aBhV3Fd[B  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "xe=N  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Mo D?2J  
v!9i"@<!  
struts.serve.static.browserCache !nd*W"_gQ/  
If static content served by the Struts filter should set browser caching header properties or not @Y}uZ'jt'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 E V2  )  
@5.e@]>ZM  
struts.serve.static MPIlSMe  
      Whether the Struts filter should serve static content or not r3qf[?3`6  
      是否struts过滤器应该提供静态内容 ySe$4deJ  
<_Eg?ePW#  
struts.tag.altSyntax  %v+=;jw  
      Whether to use the alterative syntax for the tags or not lwT9~Hyp  
      是否可以用替代的语法替代tags j?6X1cMq  
2C$R4:Ssw)  
struts.ui.templateDir Kc #|Z  
      The directory containing UI templates ecj7BT[mLI  
      UI templates的目录夹 06 i;T~Y  
N2ied^* 0  
struts.ui.theme Z o=]dBp.  
      The default UI template theme TJ(K3/)Z  
      默认的UI template主题 >xqM5#m`E$  
(gwj)?:  
struts.url.http.port c0_E_~  
      The HTTP port used by Struts URLs V5mlJml2(  
      设置http端口 `]=oo%(h  
vi!YN|}\  
struts.url.https.port C$d>_ r  
      The HTTPS port used by Struts URLs t{dSX?<nt  
      设置https端口 S QY"OBo<e  
t P"\J(x  
struts.url.includeParams u,1}h L  
      The default includeParams method to generate Struts URLs I7n3xN&4"  
      在url中产生 默认的includeParams !2tW$BP^  
~6aCfbu%V  
c+kU o$  
struts.velocity.configfile rY0u|8.5Q  
      The Velocity configuration file path + H_WlYg-  
      velocity配置文件路径 %0,-.(h  
+oc >S  
struts.velocity.contexts Wht(O~F  
      List of Velocity context names ;@3FF  
      velocity的context列表 F S"eM"z  
a.@qGsIH  
~Rpm-^  
struts.velocity.manager.classname T6#CK  
      org.apache.struts2.views.velocity.VelocityManager implementation class WC,+Cn e  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?wb+L  
X^@ I].  
struts.velocity.toolboxlocation rJJ[X4$  
      The location of the Velocity toolbox vUA0FoOp  
      velocity工具盒的位置 aG+j9Q_  
struts.xslt.nocache 5D Y\:AF  
      Whether or not XSLT templates should not be cached W_`A"WdT.  
      是否XSLT模版应该被缓存 HYK!}&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八