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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 J;?#Zt]`L  
xwSi}.  
struts.action.extension _RzwE$+9  
      The URL extension to use to determine if the request is meant for a Struts action 1M%'Xe7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 zn5U(>=c  
P[;<,U;'HO  
struts.configuration Q> Lh.U,{  
      The org.apache.struts2.config.Configuration implementation class F*&A=@/3  
        org.apache.struts2.config.Configuration接口名 UIhU[f]  
N>Dr z  
struts.configuration.files 6EHYIN^D  
      A list of configuration files automatically loaded by Struts /}%$fB  
      struts自动加载的一个配置文件列表 p i ;,?p-  
Idq &0<I  
struts.configuration.xml.reload BhO*Pfs  
      Whether to reload the XML configuration or not v]"W.<B,  
      是否加载xml配置(true,false) _?9|0>]xG  
m@|0iDS  
struts.continuations.package ;<aT| 4  
      The package containing actions that use Rife continuations Zd2B4~V  
      含有actions的完整连续的package名称 Mqy5>f)  
OxGS{zs  
struts.custom.i18n.resources \S]"nHX  
      Location of additional localization properties files to load $:{r#mM  
      加载附加的国际化属性文件(不包含.properties后缀) 0nz=whS{  
U"Gg ,  
struts.custom.properties =qQH,{]c6  
      Location of additional configuration properties files to load ?CaMn b8  
      加载附加的配置文件的位置  ,\HZIl[8  
i|- 6  
^A4bsoW  
struts.devMode i)vbmV  
      Whether Struts is in development mode or not rQ_!/J[9  
      是否为struts开发模式 ;7Hse^Oc  
d0@&2hO  
struts.dispatcher.parametersWorkaround =}bDT2Nb  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pN-l82]'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Bz&6kRPv  
>8I?YT.  
struts.enable.DynamicMethodInvocation 'p%\fb6`  
      Allows one to disable dynamic method invocation from the URL sj"zgE)  
        允许动态方法调用 {_ &*"bK  
m|:O:<  
struts.freemarker.manager.classname ;WF3w  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qDMVZb-(#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 L7~9u|7a#  
lT`y=qR|  
struts.i18n.encoding 0E6>P E;  
      The encoding to use for localization messages S;!l"1[;  
      国际化信息内码 #FAy ]7/O  
+#|| w9p  
struts.i18n.reload  j-H2h  
      Whether the localization messages should automatically be reloaded a&'!g)d  
      是否国际化信息自动加载 q<5AB{Oj?  
nnv&~C  
struts.locale k9V#=,K0  
      The default locale for the Struts application K,ccM[hu|  
      默认的国际化地区信息 8'niew 5d  
Ia> 07av  
struts.mapper.class b7thu5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |OgtAI9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >I9w|z FA  
*%[L @WF  
struts.multipart.maxSize 2X:OS/  
      The maximize size of a multipart request (file upload) scXY~l]I*  
      multipart请求信息的最大尺寸(文件上传用) TSgfIE|  
<BUKTRq  
struts.multipart.parser ;9WS#>o  
      The org.apache.struts2.dispatcher.multipart. Yqpe2II7  
      MultiPartRequest parser implementation for a multipart request (file upload) Q1cM{$}M  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !x%$xC^Iz  
B)5 QI  
3lkz:]SsE  
struts.multipart.saveDir 5$Q}Zxh  
      The directory to use for storing uploaded files kjS9?>i  
      设置存储上传文件的目录夹 5,i0QT"  
m1d*Lt>F@  
struts.objectFactory Kd<c'!  
      The com.opensymphony.xwork2.ObjectFactory implementation class " [Z'n9C  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )<<}8Fs  
RotWMGNK  
struts.objectFactory.spring.autoWire /Dmuvb|A  
      Whether Spring should autoWire or not nIckI!U#D  
      是否自动绑定Spring %%7~<=rk  
2YS1%<-g*  
struts.objectFactory.spring.useClassCache T>$S&U  
      Whether Spring should use its class cache or not ,aA%,C.0U  
      是否spring应该使用自身的cache &jbZL5  
(IE\}QcK  
struts.objectTypeDeterminer 1N3qMm^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class V|v KYEFry  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 sQIzcnKB  
\dB)G<_  
struts.serve.static.browserCache 2r =8&~9z  
If static content served by the Struts filter should set browser caching header properties or not \$Jz26 -n  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ./Y5Vk#Rp\  
%^zGM^PD  
struts.serve.static IP#?$X  
      Whether the Struts filter should serve static content or not O/N Ed)H!  
      是否struts过滤器应该提供静态内容 Q5kf-~Jx+  
KtR*/<7IC  
struts.tag.altSyntax [ST,/<?0  
      Whether to use the alterative syntax for the tags or not KF.d:  
      是否可以用替代的语法替代tags eu^B  
" M+g=  
struts.ui.templateDir =IIB~h[TB  
      The directory containing UI templates F\)?Ntj)>@  
      UI templates的目录夹 -45xa$vv  
ZcP/rT3{^  
struts.ui.theme D^!x@I~:  
      The default UI template theme ?Dr_WFNjO  
      默认的UI template主题 _e9S"``  
+nOa&d\  
struts.url.http.port bb@3%r|_<  
      The HTTP port used by Struts URLs [k<w'n*  
      设置http端口 JSCZX:5  
)<>1Q{j@  
struts.url.https.port EN\ uX!  
      The HTTPS port used by Struts URLs ]:K[{3iM  
      设置https端口 v 7g?  
x5Z(_hU  
struts.url.includeParams s|q]11r+H  
      The default includeParams method to generate Struts URLs V1d{E 0lM  
      在url中产生 默认的includeParams uhf% z G  
d i;Fj  
u/,ng&!  
struts.velocity.configfile gf]k@-)  
      The Velocity configuration file path 2B !Bogs  
      velocity配置文件路径  4u.v7r  
;d#`wSF`G  
struts.velocity.contexts 79Y;Zgv  
      List of Velocity context names f,s1k[w/;  
      velocity的context列表 }zE Qrfl  
S0zk<S  
v ?OIK=Xm  
struts.velocity.manager.classname p10i_<J]=  
      org.apache.struts2.views.velocity.VelocityManager implementation class aj\ zc I  
      org.apache.struts2.views.velocity.VelocityManager接口名 Wh7}G   
Y}aaW[  
struts.velocity.toolboxlocation &4 ~C%{H3  
      The location of the Velocity toolbox `#Yv(a2TY  
      velocity工具盒的位置 V=+wsc  
struts.xslt.nocache k% -S7iQ  
      Whether or not XSLT templates should not be cached )e|n7|} $  
      是否XSLT模版应该被缓存 w~lxWgaY7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八