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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 :/I={)5  
y}.y,\S0  
struts.action.extension Zb5T90s%  
      The URL extension to use to determine if the request is meant for a Struts action p]atH<^;K  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %a%+!wX0x  
I_{9eG1w?  
struts.configuration }[YcilU_  
      The org.apache.struts2.config.Configuration implementation class Cf8R2(-4  
        org.apache.struts2.config.Configuration接口名 lk5_s@V l  
$\=6."R5<  
struts.configuration.files w+:+r/!g  
      A list of configuration files automatically loaded by Struts #)Id J]  
      struts自动加载的一个配置文件列表 f?oI'5R41  
B$iMU?B3  
struts.configuration.xml.reload 9}7oKlyk  
      Whether to reload the XML configuration or not *R1d4|/G  
      是否加载xml配置(true,false) cHfK-R  
]}*G[[ ^p  
struts.continuations.package +LvZ87O^~  
      The package containing actions that use Rife continuations SV$ASs  
      含有actions的完整连续的package名称 < :S?t2C  
r)*_,Fo|  
struts.custom.i18n.resources 3@#,i<ge:  
      Location of additional localization properties files to load -0[>}!l=G  
      加载附加的国际化属性文件(不包含.properties后缀) n~L'icD[  
[xH2n\7  
struts.custom.properties IWSEssP  
      Location of additional configuration properties files to load av$\@4I  
      加载附加的配置文件的位置 `0-m`>1>  
dvH67 x  
{ILQ CvP*  
struts.devMode aG8;,H=%,  
      Whether Struts is in development mode or not cfF-e93T  
      是否为struts开发模式 o F,R@f  
|$i1]Dr6  
struts.dispatcher.parametersWorkaround dRarNW  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `\}zm~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) w^vK7Z 1$  
8I|1P l  
struts.enable.DynamicMethodInvocation J0{WqA.P  
      Allows one to disable dynamic method invocation from the URL a-o hS=W  
        允许动态方法调用 2gNBPd)I  
tF)k6*+  
struts.freemarker.manager.classname ^!{ oAzy9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t2U]CI%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *PA1iNdKS  
c9F[pfi(  
struts.i18n.encoding bC>yIjCTn  
      The encoding to use for localization messages ~S~x@&yR  
      国际化信息内码 ESXU, qK]v  
ui:>eYv  
struts.i18n.reload }tg:DG  
      Whether the localization messages should automatically be reloaded Ix l"'Q_z  
      是否国际化信息自动加载 ~vvQz"  
?PH}b?f4  
struts.locale CMD`b  
      The default locale for the Struts application x#!{5;V&K  
      默认的国际化地区信息 :D)&>{?  
tue%L]hc  
struts.mapper.class bU@>1>b6lE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1+y6W1m^R  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &Cn9 k3E\R  
4h0jX 9  
struts.multipart.maxSize m0q`A5!)  
      The maximize size of a multipart request (file upload) W.7d{ @n  
      multipart请求信息的最大尺寸(文件上传用) TPmZ/c^  
~N+/ZVo&y  
struts.multipart.parser XzTH,7[n  
      The org.apache.struts2.dispatcher.multipart. =.3P)gY)  
      MultiPartRequest parser implementation for a multipart request (file upload) _s#/f5<:B  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) LKwUpu!  
&t@6qi`d  
8aIq#v  
struts.multipart.saveDir jL[Is2<@  
      The directory to use for storing uploaded files ;Bc<u[G  
      设置存储上传文件的目录夹 9 h{:!  
"$wPq@  
struts.objectFactory r z>zdj5}  
      The com.opensymphony.xwork2.ObjectFactory implementation class Y+5A2Z)f[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) pOe`*2[  
Eo3Aak o  
struts.objectFactory.spring.autoWire D -\'P31  
      Whether Spring should autoWire or not "Y J;-$rb  
      是否自动绑定Spring Hi 0df3t  
3qwYicq,  
struts.objectFactory.spring.useClassCache @R Yb-d  
      Whether Spring should use its class cache or not q?'gwH37  
      是否spring应该使用自身的cache 6 GevO3  
YnL?t-$Gg  
struts.objectTypeDeterminer SwmPP-n  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T"0)%k8lJ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 oKqFZ,m[  
`EW_pwZPA  
struts.serve.static.browserCache {83He@  
If static content served by the Struts filter should set browser caching header properties or not 1*Fvx-U'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 QR-R5XNT[  
s%?p%2&RA  
struts.serve.static jnLo[Cf,H8  
      Whether the Struts filter should serve static content or not 'V1 -iJj9  
      是否struts过滤器应该提供静态内容 lPSDY&`P  
i(qYyO'  
struts.tag.altSyntax C%7,#}[U/  
      Whether to use the alterative syntax for the tags or not 9/qS*Zdh)  
      是否可以用替代的语法替代tags uL{~(?U$  
?@ye*%w_  
struts.ui.templateDir 1RO gUJ;  
      The directory containing UI templates 1VM5W!}  
      UI templates的目录夹 NCh(-E  
XIW: Nk!S  
struts.ui.theme 7bW!u*v-c  
      The default UI template theme )|1JcnNSa  
      默认的UI template主题 D0_x|a  
FZI 4?YD?<  
struts.url.http.port S5JR`o  
      The HTTP port used by Struts URLs ReGb .pf  
      设置http端口 /8-VC"  
2dlV'U_g  
struts.url.https.port .KMi)1L)  
      The HTTPS port used by Struts URLs 4oEq,o_  
      设置https端口 ^T1-dw(  
vCe<-k  
struts.url.includeParams &!EYT0=>p  
      The default includeParams method to generate Struts URLs ~0$F V  
      在url中产生 默认的includeParams pD.@&J~  
-{sv3|P>  
NqfDY  
struts.velocity.configfile *"bp}3$^^  
      The Velocity configuration file path Y{:/vOj  
      velocity配置文件路径 [";5s&)q  
7%x+7  
struts.velocity.contexts "ddH7:(k<  
      List of Velocity context names F!cAaL1  
      velocity的context列表 +g7nM7,1a  
%Yn)t3d  
>u[1v  
struts.velocity.manager.classname $%"}N_M  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;Z~.54Pf{d  
      org.apache.struts2.views.velocity.VelocityManager接口名 F0(Sv\<::  
eBRP%<=>D  
struts.velocity.toolboxlocation 2%yJo7f$[  
      The location of the Velocity toolbox U@AfRUF&  
      velocity工具盒的位置 #\;w::  
struts.xslt.nocache HPH{{p  
      Whether or not XSLT templates should not be cached NB#*`|qt  
      是否XSLT模版应该被缓存 2cL )sP}  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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