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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .b,\.0N  
$5i\D rs  
struts.action.extension e3ZRL91c  
      The URL extension to use to determine if the request is meant for a Struts action F_qApyU,7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rr tMd  
k*C69  
struts.configuration l$gJ^Wf2gY  
      The org.apache.struts2.config.Configuration implementation class A;;#]]48  
        org.apache.struts2.config.Configuration接口名 @} r*KF-  
PaaMh[OmG  
struts.configuration.files B~I ]3f  
      A list of configuration files automatically loaded by Struts E{T3Xwg  
      struts自动加载的一个配置文件列表 |KhpF1/(  
{'{}@CuA2  
struts.configuration.xml.reload mW"e  
      Whether to reload the XML configuration or not }!iopu  
      是否加载xml配置(true,false) MLV]+H[mt  
U2A-ub>7  
struts.continuations.package ec!e  
      The package containing actions that use Rife continuations PB^rniYh  
      含有actions的完整连续的package名称 w5i*pOG)Z  
X"TL'"?fo  
struts.custom.i18n.resources z\|<h=EU  
      Location of additional localization properties files to load uU)t_W&-J  
      加载附加的国际化属性文件(不包含.properties后缀) >GIQT ?O6  
QT%`=b  
struts.custom.properties Z?eTjkNS#  
      Location of additional configuration properties files to load NOTG|\{  
      加载附加的配置文件的位置 -U2Su|:\N8  
(]q ([e  
<#:iltO  
struts.devMode oO tjG3B({  
      Whether Struts is in development mode or not &E]) sJ0  
      是否为struts开发模式 %Ik5|\ob?  
JY c:@\   
struts.dispatcher.parametersWorkaround s]m]b#1!r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %72# tY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (Iv@SiZf(  
~aotV1"D  
struts.enable.DynamicMethodInvocation #X)DFAtb  
      Allows one to disable dynamic method invocation from the URL 9BakxmAc  
        允许动态方法调用 ,O:4[M!$w  
()|e xWW  
struts.freemarker.manager.classname aUMiRm-   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class cUug}/!I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !\'w>y7  
iYLg[J"  
struts.i18n.encoding c^_+<C-F  
      The encoding to use for localization messages ;ab[YMkH  
      国际化信息内码 5i6Ji(  
) P7oL.)  
struts.i18n.reload \ ERBb.  
      Whether the localization messages should automatically be reloaded <\~@l^lU  
      是否国际化信息自动加载 +IXr4M&3  
Ls2,+yo]>  
struts.locale Idu'+O4  
      The default locale for the Struts application ~[!Tpq5  
      默认的国际化地区信息 MTwzL<@$  
b|87=1^m[  
struts.mapper.class 9+(b7L   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %{ U (y#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @^0}wk  
!v3d:n\W8  
struts.multipart.maxSize @w33u^  
      The maximize size of a multipart request (file upload) pp|$y\ZzB  
      multipart请求信息的最大尺寸(文件上传用) 6U).vg<  
MZ)lNU l  
struts.multipart.parser R UCUEo63  
      The org.apache.struts2.dispatcher.multipart. =?CIC%6m  
      MultiPartRequest parser implementation for a multipart request (file upload) Mprn7=I{Tg  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {U9{*e$=  
*=md!^x`  
xz`0V}dPl  
struts.multipart.saveDir g1XpERsSEV  
      The directory to use for storing uploaded files JSFNn]z2P  
      设置存储上传文件的目录夹 Zq{gp1WC  
#}1yBxB<=  
struts.objectFactory :tENn r.9v  
      The com.opensymphony.xwork2.ObjectFactory implementation class ([m4 dr  
      com.opensymphony.xwork2.ObjectFactory接口(spring) <OiH%:G/1  
ke6,&s%{j  
struts.objectFactory.spring.autoWire 5aVZ"h"  
      Whether Spring should autoWire or not ?z.  Z_A&  
      是否自动绑定Spring Z{u]qI{l  
`m V(:  
struts.objectFactory.spring.useClassCache bz:En'2>F  
      Whether Spring should use its class cache or not DFwiBB6  
      是否spring应该使用自身的cache oVl:g:K40  
b 2\J<Nw  
struts.objectTypeDeterminer 2x gk$E$7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5> 81Vhc,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Z%sTj6Th  
nF-l4=  
struts.serve.static.browserCache B8wGWZ@  
If static content served by the Struts filter should set browser caching header properties or not 5-4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v%#@.D!)  
)"Ujx`]4r  
struts.serve.static T2?.o.&u  
      Whether the Struts filter should serve static content or not G~zfPBN0D  
      是否struts过滤器应该提供静态内容 _+}o/449  
2(Xu?W 7d  
struts.tag.altSyntax !FK)iQy$0  
      Whether to use the alterative syntax for the tags or not ,A#gF_8  
      是否可以用替代的语法替代tags KsTE)@ F:  
$LBgBH &z  
struts.ui.templateDir t%y i3  
      The directory containing UI templates 7#HSe#0J  
      UI templates的目录夹 uv$utu>< *  
%f\j)qw  
struts.ui.theme $5#DU__F/  
      The default UI template theme OZKZv,  
      默认的UI template主题 C,O9?t  
'0Q/oU  
struts.url.http.port sC f)#6mI  
      The HTTP port used by Struts URLs ow+_g R-  
      设置http端口 D3tcwjXoW_  
Qp@}v7Due  
struts.url.https.port ^c}kVQ\g3  
      The HTTPS port used by Struts URLs  >YdLB@  
      设置https端口 [pt U}  
2L.6!THG  
struts.url.includeParams y`z?lmV)xM  
      The default includeParams method to generate Struts URLs e6y!,My<  
      在url中产生 默认的includeParams Dl?:Mh  
#T>pu/EQX_  
`/G9*tIR8g  
struts.velocity.configfile 1k%HGQM{  
      The Velocity configuration file path Ea[SS@'R  
      velocity配置文件路径 .*?-j?U.  
Dz$dJF1 8  
struts.velocity.contexts "-HWw?rx/  
      List of Velocity context names jlyuu  
      velocity的context列表 u3cl7~- yW  
on7? V<  
l >oJ^J  
struts.velocity.manager.classname : t D`e<  
      org.apache.struts2.views.velocity.VelocityManager implementation class -LFk7a  
      org.apache.struts2.views.velocity.VelocityManager接口名 Yi`DRkp]3  
do.XMdit  
struts.velocity.toolboxlocation |*~SR.[`  
      The location of the Velocity toolbox (76tYt~I=  
      velocity工具盒的位置 nGDY::nUE  
struts.xslt.nocache &`g^b^i  
      Whether or not XSLT templates should not be cached H-% B<7  
      是否XSLT模版应该被缓存 WxJaE;`Ige  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八