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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 L&NpC&>wD  
p\'X%R  
struts.action.extension cJwe4c6.m  
      The URL extension to use to determine if the request is meant for a Struts action I hSXU<]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Pk5\v0vkg  
>yVrIko  
struts.configuration ^56D)A=  
      The org.apache.struts2.config.Configuration implementation class 3#udz C  
        org.apache.struts2.config.Configuration接口名 V5h_uGOD  
e>!]_B1ad  
struts.configuration.files 5gx;Bp^_  
      A list of configuration files automatically loaded by Struts *)\y52z  
      struts自动加载的一个配置文件列表 5$Kv%U  
.|L9}<  
struts.configuration.xml.reload 60>g{1]  
      Whether to reload the XML configuration or not #vy[v22  
      是否加载xml配置(true,false) &2@Rc?!6_P  
!m_y@~pV#u  
struts.continuations.package '5T:*Yh  
      The package containing actions that use Rife continuations 'X&"(M  
      含有actions的完整连续的package名称 yl' IL#n]r  
5c%Fb :BW=  
struts.custom.i18n.resources h= YTgJ  
      Location of additional localization properties files to load <R2SV=]Sq#  
      加载附加的国际化属性文件(不包含.properties后缀) i+I.>L/S  
}L{GwiDMDl  
struts.custom.properties =.m/ X>  
      Location of additional configuration properties files to load srImk6YD  
      加载附加的配置文件的位置 #z_.!E  
bccf4EyQ Y  
\:n<&<aVSr  
struts.devMode ZS_  z  
      Whether Struts is in development mode or not T|YMU?4  
      是否为struts开发模式 Z>1yLt@ls  
[["eK9 }0  
struts.dispatcher.parametersWorkaround ]4*E:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e *D,2>o  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \Z~@/OVc  
tg/!=g  
struts.enable.DynamicMethodInvocation Uul5h8F  
      Allows one to disable dynamic method invocation from the URL 6_9@s*=d>  
        允许动态方法调用 Lq@uwiq!  
Dg ~k"Ice  
struts.freemarker.manager.classname 65+2+p  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "x_G6JE4tv  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _a?x)3\v  
G}WY0FC6  
struts.i18n.encoding %3HF_DNOY=  
      The encoding to use for localization messages $Zrc-tkV  
      国际化信息内码 YO@~y *,  
K"Irg.  
struts.i18n.reload G-o6~"J\  
      Whether the localization messages should automatically be reloaded G&6`?1k  
      是否国际化信息自动加载 /W}"/W9  
K7qR  
struts.locale 6k37RpgH  
      The default locale for the Struts application Y|-&=  
      默认的国际化地区信息 8k Sb92  
rXGaav9  
struts.mapper.class ldaT: er9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class cft@s Y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 f.vJJa  
~ /K'n  
struts.multipart.maxSize FA%BzU5^  
      The maximize size of a multipart request (file upload) 7.yCs[Z  
      multipart请求信息的最大尺寸(文件上传用) hx~rq `{  
J?&%fI  
struts.multipart.parser 6LT.ng  
      The org.apache.struts2.dispatcher.multipart. bSTTr<W  
      MultiPartRequest parser implementation for a multipart request (file upload) [A;0I jKam  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) mI;\ UOh'  
q{q;X{  
h)r=+Q\'(S  
struts.multipart.saveDir QT"o"B  
      The directory to use for storing uploaded files b^P\Kky  
      设置存储上传文件的目录夹 | gGD3H  
Q'^$;X~-<  
struts.objectFactory $D*Yhv!/  
      The com.opensymphony.xwork2.ObjectFactory implementation class fzjtaH?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7zNfq.Ni~  
r8_MIGM'  
struts.objectFactory.spring.autoWire \ tU[,3  
      Whether Spring should autoWire or not ZzT"u1,&  
      是否自动绑定Spring ZZeF1y[q  
f_.0 uM  
struts.objectFactory.spring.useClassCache r,GgMk  
      Whether Spring should use its class cache or not [&p/7  
      是否spring应该使用自身的cache HIlTt  
1HRcEzA  
struts.objectTypeDeterminer C8 $KVZ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }%,LV]rGEZ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P[,  
T<0V ^B7  
struts.serve.static.browserCache kh"APxQ79  
If static content served by the Struts filter should set browser caching header properties or not D<^K7tJui  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 EuD$^#  
#6 $WuIG  
struts.serve.static k,/2]{#53d  
      Whether the Struts filter should serve static content or not v@:m8Y(t  
      是否struts过滤器应该提供静态内容 5lE9UoG[Q  
pf&SIG  
struts.tag.altSyntax t1o_x}z4.  
      Whether to use the alterative syntax for the tags or not 3`njQvI\  
      是否可以用替代的语法替代tags VQ2B|v  
o~'UWU'#  
struts.ui.templateDir MnW"ksH  
      The directory containing UI templates ;'4Kg@/  
      UI templates的目录夹 }~ga86:n0  
n=h!V$X   
struts.ui.theme jXyK[q&O&  
      The default UI template theme kl5Y{![/&f  
      默认的UI template主题 RXhT{Ho(>  
:rN5HOg^9  
struts.url.http.port !$,e)89  
      The HTTP port used by Struts URLs *,XT;h$'>  
      设置http端口 HwBJUr91]  
[ldx_+xa:E  
struts.url.https.port Ehtb`Ms  
      The HTTPS port used by Struts URLs Gwfi  
      设置https端口 'R n\CMTH  
DV~g  
struts.url.includeParams idZ]d6  
      The default includeParams method to generate Struts URLs 3TT?GgQ  
      在url中产生 默认的includeParams fj y2\J!  
\'P79=AU  
hh^_Z| 5  
struts.velocity.configfile l`EKL2n  
      The Velocity configuration file path {MmK:C  
      velocity配置文件路径 cq 1)b\|  
JjBlje  
struts.velocity.contexts =K6{AmG$  
      List of Velocity context names ,@@FAL  
      velocity的context列表 D^H4]7wG@  
SrvC34<7  
ia%U;M  
struts.velocity.manager.classname n'<F'1SWv  
      org.apache.struts2.views.velocity.VelocityManager implementation class yxy~N\ 0  
      org.apache.struts2.views.velocity.VelocityManager接口名 .$r7q[  
{&)E$ M  
struts.velocity.toolboxlocation {9h`h08?z  
      The location of the Velocity toolbox RV6|sN[x>  
      velocity工具盒的位置 @?[}\9dW  
struts.xslt.nocache (!diPwcv  
      Whether or not XSLT templates should not be cached D~f[Rg  
      是否XSLT模版应该被缓存 -Rr Qv(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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