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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !RLg[_'  
3X$)cZQ  
struts.action.extension kLVf}J~?  
      The URL extension to use to determine if the request is meant for a Struts action _Zya GDv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !3>(fj+QS  
<@FOqi{o{  
struts.configuration 4 vwa/?  
      The org.apache.struts2.config.Configuration implementation class >{i/LC^S  
        org.apache.struts2.config.Configuration接口名 oxE'u<  
;crQ7}k  
struts.configuration.files ;bVC7D~~4w  
      A list of configuration files automatically loaded by Struts ig:/60Z  
      struts自动加载的一个配置文件列表 mH> oF|  
U0'>(FP~2  
struts.configuration.xml.reload U@+ @Mc  
      Whether to reload the XML configuration or not uR{HCZ-  
      是否加载xml配置(true,false) u2 a U0k:  
FR9<$  
struts.continuations.package X l#P@60  
      The package containing actions that use Rife continuations TEl :;4  
      含有actions的完整连续的package名称  ~dfc  
`_sc_Y|C!  
struts.custom.i18n.resources pN/)$6=  
      Location of additional localization properties files to load M}NmA  
      加载附加的国际化属性文件(不包含.properties后缀) 0!F"s>(H  
!%x8!;za  
struts.custom.properties )W)m?%  
      Location of additional configuration properties files to load UKp- *YukT  
      加载附加的配置文件的位置 {]plT~{e  
b:/;  
{J q[N}  
struts.devMode T;jp2 #  
      Whether Struts is in development mode or not kM5N#|!  
      是否为struts开发模式 \o9-[V#Gm  
hK"hMyH^  
struts.dispatcher.parametersWorkaround 1g6AzUXg  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9;s:Bo  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v5l)T}Nb  
^'i(@{{o\  
struts.enable.DynamicMethodInvocation `;b@a<Wl  
      Allows one to disable dynamic method invocation from the URL {4Y@ DQ-  
        允许动态方法调用 `O(ec  
Tx?,]c,(u  
struts.freemarker.manager.classname X-9>;Mb~y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ep .AW'+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 <b>@'\w9  
*@=in7*c  
struts.i18n.encoding Mk"+*G  
      The encoding to use for localization messages MB :knj  
      国际化信息内码 6H67$?jMyJ  
}$3eRu +  
struts.i18n.reload yC !`6$  
      Whether the localization messages should automatically be reloaded wXp A1,i  
      是否国际化信息自动加载 IW3ZHmrpA  
]&\HAmOQS  
struts.locale 4k_&Q?1  
      The default locale for the Struts application zQ9"i  
      默认的国际化地区信息 Zpg/T K  
-_Pd d[M  
struts.mapper.class Qk<W(  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o9G%KO&;D,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 L^} Z:I  
0F-X.Dq  
struts.multipart.maxSize 1C\OL!@L  
      The maximize size of a multipart request (file upload) D_ xPa  
      multipart请求信息的最大尺寸(文件上传用) !TY9\8JzV  
|t*(]U2O0  
struts.multipart.parser t m?[0@<s  
      The org.apache.struts2.dispatcher.multipart. n"8vlNeW  
      MultiPartRequest parser implementation for a multipart request (file upload) IY6DZP  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 24PEt%2  
,80qwN,  
/e :V44  
struts.multipart.saveDir >f#P(  
      The directory to use for storing uploaded files D].!u{##  
      设置存储上传文件的目录夹 T:q_1W?h]  
~4h<nc  
struts.objectFactory 6s\niro2  
      The com.opensymphony.xwork2.ObjectFactory implementation class ){`s&?M0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :b)IDcW&j:  
=gS?atbX  
struts.objectFactory.spring.autoWire J#vIz  Q  
      Whether Spring should autoWire or not '_,/N!-V  
      是否自动绑定Spring O,R5csMh  
GZ0? C2\  
struts.objectFactory.spring.useClassCache 5ckL=q"+/  
      Whether Spring should use its class cache or not >c%OnA,3  
      是否spring应该使用自身的cache n 1MZHa,  
1S9(Zn[2,  
struts.objectTypeDeterminer @5N^^B  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [2?|BUtD[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 XlUM~(7+v  
B*btt+6  
struts.serve.static.browserCache _#@n^c  
If static content served by the Struts filter should set browser caching header properties or not k `JP  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ntbl0Sk  
hc OT+L>  
struts.serve.static L;zwqdI  
      Whether the Struts filter should serve static content or not k8H@0p  
      是否struts过滤器应该提供静态内容 |D+"+w/  
d4KT wn5g  
struts.tag.altSyntax IWcgh`8  
      Whether to use the alterative syntax for the tags or not OV3l)73?t  
      是否可以用替代的语法替代tags ,T@+QXh  
i^Vb42%y  
struts.ui.templateDir M#X8Rs1`  
      The directory containing UI templates a0I+|fR  
      UI templates的目录夹 52?zBl`|  
1=(jpy  
struts.ui.theme [xzgk [>5  
      The default UI template theme \J[m4tw^  
      默认的UI template主题 r/zuo6"5  
0JzH dz  
struts.url.http.port Oxs O  
      The HTTP port used by Struts URLs }a?PB o`  
      设置http端口 85CH% I#  
li'h&!|]  
struts.url.https.port c'cK+32  
      The HTTPS port used by Struts URLs -4ry)isYx  
      设置https端口 mM&Sq;JJ;  
[8|Y2Z\N  
struts.url.includeParams ~!UC:&UKo  
      The default includeParams method to generate Struts URLs Yt&Isi +  
      在url中产生 默认的includeParams Qt`hUyL  
#HFB* >  
fB^h2  
struts.velocity.configfile xIu #  
      The Velocity configuration file path Py*( %  
      velocity配置文件路径 xi['knUi2-  
J1OZG6|e  
struts.velocity.contexts G8=2=/ !  
      List of Velocity context names e??tp]PLn  
      velocity的context列表 ~C[p}MED  
m>yb}+  
HV O mM17  
struts.velocity.manager.classname n%'M?o]DF  
      org.apache.struts2.views.velocity.VelocityManager implementation class '%Og9Bgd+  
      org.apache.struts2.views.velocity.VelocityManager接口名 MMlryn||1  
kQ~2mU  
struts.velocity.toolboxlocation 9U[Gh97Sf  
      The location of the Velocity toolbox ldp x,  
      velocity工具盒的位置 Qn= 3b:S-  
struts.xslt.nocache e_'/4 n  
      Whether or not XSLT templates should not be cached a&:1W83  
      是否XSLT模版应该被缓存 ;pe1tp  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五