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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _+'!l'`  
oLh ,F"nB  
struts.action.extension +{RTz)e?*  
      The URL extension to use to determine if the request is meant for a Struts action 23WrJM!2N  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .7  0  
8B:y46  
struts.configuration o~)o/(>ox  
      The org.apache.struts2.config.Configuration implementation class "ayV8{m^3  
        org.apache.struts2.config.Configuration接口名 e6Y>Bk   
t>/x-{bH\  
struts.configuration.files )*>wa%[-q  
      A list of configuration files automatically loaded by Struts cw{TS  
      struts自动加载的一个配置文件列表 y<E]; ub  
sQac%.H;`U  
struts.configuration.xml.reload  dC{dw^  
      Whether to reload the XML configuration or not _io'8X2K%  
      是否加载xml配置(true,false) Uq$/Q7  
.<F46?HS  
struts.continuations.package `SsoRPW&$  
      The package containing actions that use Rife continuations 7XK0vKmW3  
      含有actions的完整连续的package名称 8hD[z}  
tP7<WGHd/  
struts.custom.i18n.resources {MSE}|A\V  
      Location of additional localization properties files to load 4P k%+l  
      加载附加的国际化属性文件(不包含.properties后缀) XFvl  
t`+A;%=K]  
struts.custom.properties 6UuN-7z!"  
      Location of additional configuration properties files to load ]LUcOR  
      加载附加的配置文件的位置 tVEe)QX  
ws+'*7  
^`'\eEa  
struts.devMode k#Sr;"  
      Whether Struts is in development mode or not A*?PH`bY  
      是否为struts开发模式 gTXpaB<  
rZJJ\ , |  
struts.dispatcher.parametersWorkaround e ,/]]E/o  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Z K+F<}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jDpA>{O[  
uC^)#Y\"  
struts.enable.DynamicMethodInvocation \&hq$  
      Allows one to disable dynamic method invocation from the URL P:4"~ ]}  
        允许动态方法调用 dAx ? ,  
8qg%>ZU4d  
struts.freemarker.manager.classname C$TU TS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ou<3}g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 XGR2L DR  
s@@Km1w  
struts.i18n.encoding b>OB}Is  
      The encoding to use for localization messages w\o6G7  
      国际化信息内码 W~;Jsd=f  
! 6%?VJB|b  
struts.i18n.reload LSou]{R  
      Whether the localization messages should automatically be reloaded RI&O@?+U  
      是否国际化信息自动加载 P'lnS&yA  
t-iXY0%&  
struts.locale -&>V.hi7  
      The default locale for the Struts application Fm0d0j  
      默认的国际化地区信息 =wdh# {  
R+Hu?Dv&F  
struts.mapper.class U 5J _Y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class LJ/He[r|[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S3ooG14Ls  
N7_eLhPt*8  
struts.multipart.maxSize ]EX6Y  
      The maximize size of a multipart request (file upload) >] 'oN  
      multipart请求信息的最大尺寸(文件上传用) {x_.QWe5  
0N$7(.  
struts.multipart.parser e=OHO,74z"  
      The org.apache.struts2.dispatcher.multipart. $lJcC |*  
      MultiPartRequest parser implementation for a multipart request (file upload) /=m AVA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ey DV911  
C6;2Dd]"N  
[g/D<g5O  
struts.multipart.saveDir !HDb{f  
      The directory to use for storing uploaded files YQ G<Q  
      设置存储上传文件的目录夹 i"0Bc{cQ  
_M%S  
struts.objectFactory ~4{q  
      The com.opensymphony.xwork2.ObjectFactory implementation class LUMbRrD-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) iAu/ t  
[! $N Tt_  
struts.objectFactory.spring.autoWire Y7}Tuy dC  
      Whether Spring should autoWire or not 7z4k5d<^_  
      是否自动绑定Spring a.Z@Z!*  
noxJr/A]  
struts.objectFactory.spring.useClassCache eut2x7Z(c  
      Whether Spring should use its class cache or not o:AfEoH"~  
      是否spring应该使用自身的cache %;k Hnl  
VO|ECB2e  
struts.objectTypeDeterminer w+ R/>a( ]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2F:qaz  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 z3+@[I$  
.d1ff] ;  
struts.serve.static.browserCache 9;e!r DW,#  
If static content served by the Struts filter should set browser caching header properties or not lA5Dag'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 n^4R]9U  
V%oZT>T3  
struts.serve.static U|} ?{x  
      Whether the Struts filter should serve static content or not VV$t*9w  
      是否struts过滤器应该提供静态内容 MNd\)nX  
."$t&[;s  
struts.tag.altSyntax - eG~  
      Whether to use the alterative syntax for the tags or not 2IJK0w@  
      是否可以用替代的语法替代tags H{*D c_  
:25LQf^nz  
struts.ui.templateDir +lx& $mr?  
      The directory containing UI templates 2 |je{  
      UI templates的目录夹 A `Z/B[)  
kXSX<b<%  
struts.ui.theme uAn}qrqE9  
      The default UI template theme 5daq}hsQs  
      默认的UI template主题 @L3XBV2  
2FIL@f|\7z  
struts.url.http.port y/Xs+ {x  
      The HTTP port used by Struts URLs al9wNtMT  
      设置http端口 l a3B`p  
)\akIA  
struts.url.https.port l{k_;i!D  
      The HTTPS port used by Struts URLs  'o-4'  
      设置https端口 ,QcS[9$  
.G O0xnm  
struts.url.includeParams tqGrhOt  
      The default includeParams method to generate Struts URLs JXB)'d0  
      在url中产生 默认的includeParams @j/2 $  
&?@C^0&QV  
Y %"Ji[  
struts.velocity.configfile SGAzeymw  
      The Velocity configuration file path h:?^0b!@  
      velocity配置文件路径 n3a.)tcC  
_ %nz-I  
struts.velocity.contexts ^e.-Ji  
      List of Velocity context names .Kb3VNgwvm  
      velocity的context列表 HuevDy4  
3Z b]@n  
dvB=Zk]m  
struts.velocity.manager.classname  /|0-O''  
      org.apache.struts2.views.velocity.VelocityManager implementation class BX >L7n  
      org.apache.struts2.views.velocity.VelocityManager接口名 sey,J5?  
\vA*dQ-  
struts.velocity.toolboxlocation hYW9a`Ht/  
      The location of the Velocity toolbox "n%s>@$  
      velocity工具盒的位置 Oidf\%!mvR  
struts.xslt.nocache Qm%PpQ^Lz3  
      Whether or not XSLT templates should not be cached ^m qEKy<  
      是否XSLT模版应该被缓存 J usU5 e|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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