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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 jVZ<i}h0B  
@rA V;D%  
struts.action.extension >]&Ow9-  
      The URL extension to use to determine if the request is meant for a Struts action La3rX  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k{=dV  
3~V .  
struts.configuration 4=EA3`l  
      The org.apache.struts2.config.Configuration implementation class 2Q\\l @b\  
        org.apache.struts2.config.Configuration接口名 8qaU[u&$  
g<,0kl2'S  
struts.configuration.files -(>Ch>O  
      A list of configuration files automatically loaded by Struts FvYciU!  
      struts自动加载的一个配置文件列表 a s('ZD.9  
L &hw- .Q  
struts.configuration.xml.reload W amOg0  
      Whether to reload the XML configuration or not iK+Vla`}  
      是否加载xml配置(true,false) Jp%5qBS^  
F3]VSI6^E,  
struts.continuations.package nm& pn*1  
      The package containing actions that use Rife continuations MB $aN':  
      含有actions的完整连续的package名称 ,hT.Ok={36  
<pjxJ<1 l  
struts.custom.i18n.resources Sk1t~  
      Location of additional localization properties files to load (>f`>6 V  
      加载附加的国际化属性文件(不包含.properties后缀) eG8 l^[  
eV/oY1B]<  
struts.custom.properties $IjI{%  
      Location of additional configuration properties files to load U8y?S]}vo  
      加载附加的配置文件的位置 )J0h\ky  
SD{)Sq  
mw}Bl; - O  
struts.devMode [ p~,;%  
      Whether Struts is in development mode or not >iRkhA=Vg  
      是否为struts开发模式 ,|}mo+rb-  
D6l. x]K  
struts.dispatcher.parametersWorkaround 9jX_Eoxy  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gzqp=I[%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Wz"H.hf  
PgGUs4[  
struts.enable.DynamicMethodInvocation -zn_d]NV  
      Allows one to disable dynamic method invocation from the URL #.[eZ[  
        允许动态方法调用 J=gFiBw  
>C!^%e;m  
struts.freemarker.manager.classname {j;` wN  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w= n(2M56C  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4#7*B yvf  
QIlZZ  
struts.i18n.encoding "}`)s_rt  
      The encoding to use for localization messages Gyy4zK  
      国际化信息内码 EwU)(UK  
g}W|q"l?i  
struts.i18n.reload hV0fkQ.|  
      Whether the localization messages should automatically be reloaded c-}[v<o  
      是否国际化信息自动加载 % @+j@i`&  
i%i />;DF  
struts.locale ' |B3@9<  
      The default locale for the Struts application <F(2D<d{;)  
      默认的国际化地区信息 Mqvo j7  
dFDf/tH  
struts.mapper.class VN`fZ5*d~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class rQ_@q_B.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %lWOW2~R  
qP<D9k>  
struts.multipart.maxSize SY[3O  
      The maximize size of a multipart request (file upload) KR%WBvv   
      multipart请求信息的最大尺寸(文件上传用) X!/Sk1  
>5:O%zQ@  
struts.multipart.parser Bf;_~1+vLG  
      The org.apache.struts2.dispatcher.multipart. |*UB/8C^/!  
      MultiPartRequest parser implementation for a multipart request (file upload) u4w!SD  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z F.@rXl  
 Owi/e  
ujS oWs  
struts.multipart.saveDir %)?jaE}[  
      The directory to use for storing uploaded files 7>BfHb  
      设置存储上传文件的目录夹 w4Df?)Z  
DyiJ4m}kh  
struts.objectFactory `o295eiY(b  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9J?s:"j  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -~lq <M  
xk% 62W  
struts.objectFactory.spring.autoWire z'& fEsjy  
      Whether Spring should autoWire or not 5TB6QLPEwY  
      是否自动绑定Spring 1^X)vck  
;l0 dx$w  
struts.objectFactory.spring.useClassCache $ P?^GB>u  
      Whether Spring should use its class cache or not $*iovam>^]  
      是否spring应该使用自身的cache 3oMHy5  
ZIc.MNq  
struts.objectTypeDeterminer S7Ty}?E@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ec3tfcNhR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ""a$[[ %WC  
9Pe$}N  
struts.serve.static.browserCache LlO8]b!P-^  
If static content served by the Struts filter should set browser caching header properties or not @x+2b0 b  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4}v|^_x-i  
;-kDJ i  
struts.serve.static BR@m*JGajz  
      Whether the Struts filter should serve static content or not uHSnZ"#  
      是否struts过滤器应该提供静态内容 qx[c0X!  
#o4tG  
struts.tag.altSyntax -dBWpT  
      Whether to use the alterative syntax for the tags or not 2a48(~<_  
      是否可以用替代的语法替代tags U|%}B(  
+jwHYfAK)  
struts.ui.templateDir H4AT>}ri  
      The directory containing UI templates tLa%8@;'$  
      UI templates的目录夹 VDbbA\  
v#/Gxk9eX  
struts.ui.theme @|c])  
      The default UI template theme 35e{{Gn)v  
      默认的UI template主题 vBl:&99[/  
-LszaMR}  
struts.url.http.port xi(\=LbhY  
      The HTTP port used by Struts URLs o5?Y   
      设置http端口 [%N?D#;  
&t AYF_}  
struts.url.https.port @e GBF Ns  
      The HTTPS port used by Struts URLs >VkBQM-%  
      设置https端口 DJ:'<"zH7  
poxF`a6e+  
struts.url.includeParams G_S>{<[  
      The default includeParams method to generate Struts URLs pcwYgq#5  
      在url中产生 默认的includeParams t'Wv? ,  
7 s5(eQI  
pOo016afmA  
struts.velocity.configfile q -8G  
      The Velocity configuration file path *??lwvJp  
      velocity配置文件路径 r9})~>   
5P-t{<]tx  
struts.velocity.contexts ")STB8kQ  
      List of Velocity context names nwUz}em?O  
      velocity的context列表 % (y{Sca  
Bso#+v5  
OpEH4X.Z  
struts.velocity.manager.classname F. SB_S<'  
      org.apache.struts2.views.velocity.VelocityManager implementation class V>`ANZ4  
      org.apache.struts2.views.velocity.VelocityManager接口名 Fds 11 /c7  
gE#'Zv{7  
struts.velocity.toolboxlocation KZw~Ch}b9  
      The location of the Velocity toolbox ^D$|$=|DH  
      velocity工具盒的位置 \xCCJWek  
struts.xslt.nocache h&$h<zL[  
      Whether or not XSLT templates should not be cached CC`_e^~y=F  
      是否XSLT模版应该被缓存 \toU zTT  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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