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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 g1"Z pD  
;in-)`UC!  
struts.action.extension gO "G/  
      The URL extension to use to determine if the request is meant for a Struts action z=g!mVK5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #\n* Qg4p  
$x]/|u/9  
struts.configuration lNyyL Lt  
      The org.apache.struts2.config.Configuration implementation class CI-za !T  
        org.apache.struts2.config.Configuration接口名 [u2t1^#Ol  
{=mGXd`x?l  
struts.configuration.files {6:*c  
      A list of configuration files automatically loaded by Struts #OM)71kB8  
      struts自动加载的一个配置文件列表 ruB D ^-  
g<M!]0OK  
struts.configuration.xml.reload j>:N0:  
      Whether to reload the XML configuration or not nGYi mRYO  
      是否加载xml配置(true,false) CMOyK^(e  
CM++:Y vJ  
struts.continuations.package Pmd[2/][  
      The package containing actions that use Rife continuations xT*c##  
      含有actions的完整连续的package名称 <!UnH6J.b  
hhZ%{lqL  
struts.custom.i18n.resources <bSPKTKL  
      Location of additional localization properties files to load J` GL_@$q  
      加载附加的国际化属性文件(不包含.properties后缀) 4 l-Urn Z  
Tq?Ai_  
struts.custom.properties ~wv$uL8y  
      Location of additional configuration properties files to load $L6R,%c  
      加载附加的配置文件的位置 NFx%e  
r~ f;g9I  
V@-Q&K#  
struts.devMode xsJXf @  
      Whether Struts is in development mode or not 6vE#$(n#a&  
      是否为struts开发模式 DwGM+)!  
./Ek+p*96H  
struts.dispatcher.parametersWorkaround 6o3#<ap<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic RO/(Ldh  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _8 0L/92  
bEQ-? X%7  
struts.enable.DynamicMethodInvocation Xo~q}(ze^  
      Allows one to disable dynamic method invocation from the URL 0+@:f^3]!  
        允许动态方法调用 -aok]w m  
a~_JTH4=t  
struts.freemarker.manager.classname ]YFjz/f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [R%*C9Y d  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  4W*o:Y!  
K$/"I0YyI  
struts.i18n.encoding Fb%?qaLmCv  
      The encoding to use for localization messages K|-m6!C!7  
      国际化信息内码 &,jUaC5I  
p!^K.P1 '  
struts.i18n.reload Hv,ll1@h  
      Whether the localization messages should automatically be reloaded U), HrI>;  
      是否国际化信息自动加载 q mFbq<&  
 .nrbd#i-  
struts.locale UWV%  y P  
      The default locale for the Struts application 6LGl]jHf  
      默认的国际化地区信息 !ae?EJm"  
wLqj<ot  
struts.mapper.class Qr3!6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _",(!(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 L@6]~[JvP  
GuU-< *u(d  
struts.multipart.maxSize ^GY^g-R  
      The maximize size of a multipart request (file upload) !<=zFy[J.9  
      multipart请求信息的最大尺寸(文件上传用) n(eo_.W2|  
Jk&!(YK&  
struts.multipart.parser pY )x&uM!  
      The org.apache.struts2.dispatcher.multipart. SF,:jpt`Z+  
      MultiPartRequest parser implementation for a multipart request (file upload) b5^>QzgD  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) XL.f `N.O  
3Q=\W<Wu  
.9B@w+=6  
struts.multipart.saveDir uZrp ^  
      The directory to use for storing uploaded files .qZz 'Eq[  
      设置存储上传文件的目录夹 g1[BrT,  
^`";GnH0  
struts.objectFactory d!R+-Fp  
      The com.opensymphony.xwork2.ObjectFactory implementation class ZZo<0kDk  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #.HnO_sK_  
Il&7n_ H  
struts.objectFactory.spring.autoWire dG5jhkPX  
      Whether Spring should autoWire or not `Tyd1!~  
      是否自动绑定Spring nTr]NBR  
U{oM*[  
struts.objectFactory.spring.useClassCache X5J)1rL  
      Whether Spring should use its class cache or not j;_  
      是否spring应该使用自身的cache ?i#x13  
`j)56bR  
struts.objectTypeDeterminer W5`pQdk  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?VE'!DW  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l_:P |  
Nr>UZlU8  
struts.serve.static.browserCache b:Zh|-  
If static content served by the Struts filter should set browser caching header properties or not c]#}#RJ`\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1aRTvaGo  
W& 0R/y7  
struts.serve.static \l /}` w  
      Whether the Struts filter should serve static content or not *|\bS "  
      是否struts过滤器应该提供静态内容 q&v~9~^}d  
!10/M  
struts.tag.altSyntax 8o%Vn'^t  
      Whether to use the alterative syntax for the tags or not 8Z\q)T  
      是否可以用替代的语法替代tags FD 8Lk  
H6 x  
struts.ui.templateDir T&pCLvkz  
      The directory containing UI templates 6&SNFOX{@  
      UI templates的目录夹 zytN leyc  
\z!lw  
struts.ui.theme m6BUKX\m  
      The default UI template theme Ii[U%  
      默认的UI template主题 L$OZ]  
-kLBq :M  
struts.url.http.port h0 92S|iY  
      The HTTP port used by Struts URLs |U{~t<BF#  
      设置http端口 _yN5sLLyb  
$aJay]F  
struts.url.https.port t>}S@T{~T  
      The HTTPS port used by Struts URLs )$E){(Aa  
      设置https端口 [}HPV+j=U  
wQy~5+LE  
struts.url.includeParams j`.&4.7+  
      The default includeParams method to generate Struts URLs 8el6z2  
      在url中产生 默认的includeParams gtMR/P:S  
~v2(sRJ  
Ep./->fOA  
struts.velocity.configfile ma*#*4  
      The Velocity configuration file path A ~vx,|I  
      velocity配置文件路径 e Fz$h2*B  
BI)C\D3[  
struts.velocity.contexts C;JW \J~W  
      List of Velocity context names vPYHM2  
      velocity的context列表 %4!^AA%  
#*CMf.OCh  
1 PdG1'  
struts.velocity.manager.classname +\_\53  
      org.apache.struts2.views.velocity.VelocityManager implementation class BE@(| U  
      org.apache.struts2.views.velocity.VelocityManager接口名 {z 5YJ*C  
J{\Uw].|0  
struts.velocity.toolboxlocation >Df; 1:U  
      The location of the Velocity toolbox ]m 3cm  
      velocity工具盒的位置 ]h`*w  
struts.xslt.nocache 18F}3t??  
      Whether or not XSLT templates should not be cached 8o|C43Q_  
      是否XSLT模版应该被缓存 ;AOLbmb)H4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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