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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 bz,cfc;?$  
Iy 8E$B;  
struts.action.extension keq[ 6Lv  
      The URL extension to use to determine if the request is meant for a Struts action  f"=4,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =)UiI3xHk  
XU })3]/  
struts.configuration :DF4g=  
      The org.apache.struts2.config.Configuration implementation class 7!840 :a?+  
        org.apache.struts2.config.Configuration接口名 D8Waf  
6+d"3-R.  
struts.configuration.files d/99!+r  
      A list of configuration files automatically loaded by Struts ;[\2/$-  
      struts自动加载的一个配置文件列表 Gw\HL  
r.G/f{=<@  
struts.configuration.xml.reload KD3To%  
      Whether to reload the XML configuration or not :?XHZ  
      是否加载xml配置(true,false) eR 2T<7G  
9P >S[=  
struts.continuations.package OL9C #er  
      The package containing actions that use Rife continuations =$z$VbBv  
      含有actions的完整连续的package名称 s&_O2(l  
7JwWM2N?V  
struts.custom.i18n.resources c(=O`%B{  
      Location of additional localization properties files to load >wm$,%zk  
      加载附加的国际化属性文件(不包含.properties后缀) u~T$F/]k>  
H;!hp0y  
struts.custom.properties u2\qg;dP  
      Location of additional configuration properties files to load Fea\ eB  
      加载附加的配置文件的位置 Jn[ K0GV  
$5AtI$TV_!  
ifCGNvDR  
struts.devMode _"Ke=v_5  
      Whether Struts is in development mode or not XI(@O)  
      是否为struts开发模式 h sw My  
Tb6x@MorP  
struts.dispatcher.parametersWorkaround "._WdY[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *b l{F\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I; }%k;v6  
"RX5] eJc\  
struts.enable.DynamicMethodInvocation iOXP\:mPo  
      Allows one to disable dynamic method invocation from the URL $u.T1v  
        允许动态方法调用 |g^W @.P  
s!!t  
struts.freemarker.manager.classname 9i[2z:4HJ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  /lok3J:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Gqc6).tn  
H+&w7ER  
struts.i18n.encoding q9(}wvtr  
      The encoding to use for localization messages ]4~D;mv  
      国际化信息内码 M !XFb  
_SW a3O#'  
struts.i18n.reload Br^b%12ZRS  
      Whether the localization messages should automatically be reloaded } $c($  
      是否国际化信息自动加载 S_;:iC]B  
aJ_Eh(cF  
struts.locale M<m64{m1  
      The default locale for the Struts application F+9`G[  
      默认的国际化地区信息 [bVP2j  
0P/LW|16  
struts.mapper.class ? bg pUv  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T.dO0$,Q@$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ojqX#>0K  
#zD+DBTAu  
struts.multipart.maxSize RtM.}wv;  
      The maximize size of a multipart request (file upload) @Iatlz*W  
      multipart请求信息的最大尺寸(文件上传用) 0x/V1?gm  
&WU*cfJn)A  
struts.multipart.parser _1%^ ibn  
      The org.apache.struts2.dispatcher.multipart. R~(.uV`#j  
      MultiPartRequest parser implementation for a multipart request (file upload) IHmNi>E&/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "?.Wb L  
g%P4$|C9 i  
@Odu.F1e  
struts.multipart.saveDir W >IKy#  
      The directory to use for storing uploaded files Ri0+nJ6  
      设置存储上传文件的目录夹 *4VP5]!  
sjkl? _  
struts.objectFactory g*AqFY7|  
      The com.opensymphony.xwork2.ObjectFactory implementation class :6iq{XV^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &4iIzw`  
/VZU3p<~  
struts.objectFactory.spring.autoWire g<c^\WG  
      Whether Spring should autoWire or not 2 g==98>cg  
      是否自动绑定Spring 3yX^R^`  
<Y6>L};  
struts.objectFactory.spring.useClassCache \Rt  
      Whether Spring should use its class cache or not 41D[[Gh  
      是否spring应该使用自身的cache nu -wQr  
HJrg  
struts.objectTypeDeterminer Om{ML,d  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CI{TgL:l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <7Lz<{jaJ  
b#^D8_9h  
struts.serve.static.browserCache `<Nc Y*  
If static content served by the Struts filter should set browser caching header properties or not x;aZ&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3Ab$  
J>v>6OC6i  
struts.serve.static u8=|{)yL  
      Whether the Struts filter should serve static content or not qT%E[qDS  
      是否struts过滤器应该提供静态内容  >S/>2e:  
zwHsdB=v  
struts.tag.altSyntax g8y Zc}4  
      Whether to use the alterative syntax for the tags or not \MPy"uC  
      是否可以用替代的语法替代tags Ob+c*@KiW  
YI+|6s[  
struts.ui.templateDir 7w({ GZ  
      The directory containing UI templates (<-0UR]%q;  
      UI templates的目录夹 { ,srj['RS  
KWMH|sxO=  
struts.ui.theme A 76yz`D  
      The default UI template theme mL+ps x+  
      默认的UI template主题 `8Ix&d3F  
~!u94_:  
struts.url.http.port ^PszZ10T  
      The HTTP port used by Struts URLs -fn~y1  
      设置http端口 ]7@Dqd-/S  
)[.URp&  
struts.url.https.port |zlwPi.  
      The HTTPS port used by Struts URLs 7.-|3Wcg  
      设置https端口 CeemR>\t  
~8E rl3=5{  
struts.url.includeParams VgL<uxq  
      The default includeParams method to generate Struts URLs r]{:{Z  
      在url中产生 默认的includeParams ;kA2"c]m  
\t3i9#Q  
GM~jR-FZ  
struts.velocity.configfile ::w%rv  
      The Velocity configuration file path kY&j~R[C  
      velocity配置文件路径 :l{-UkbB  
W=+ag<@  
struts.velocity.contexts SM?<woY=*  
      List of Velocity context names d7Z\  
      velocity的context列表 u]-$]zIH  
\!Pm^FD .  
yR-.OF,c  
struts.velocity.manager.classname T8k oP  
      org.apache.struts2.views.velocity.VelocityManager implementation class (>'d`^kjk  
      org.apache.struts2.views.velocity.VelocityManager接口名 6zSN?0c  
xNU}uW>>T  
struts.velocity.toolboxlocation *2Kte'+q  
      The location of the Velocity toolbox oizoKwp%  
      velocity工具盒的位置 Dc5XU3Eu`  
struts.xslt.nocache T%F'4_~No  
      Whether or not XSLT templates should not be cached i=rW{0c%  
      是否XSLT模版应该被缓存 6iOAYA=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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