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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *(scSC>  
Ur-^X(nL  
struts.action.extension xqtjtH9X  
      The URL extension to use to determine if the request is meant for a Struts action kxmS   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 YQ)m?=+J  
%xfy\of+Nk  
struts.configuration $K KaA{0-  
      The org.apache.struts2.config.Configuration implementation class >eTlew<5  
        org.apache.struts2.config.Configuration接口名 ``<1Lo@  
=@w:   
struts.configuration.files ~ 9;GD4  
      A list of configuration files automatically loaded by Struts %pp+V1FH  
      struts自动加载的一个配置文件列表 J7_H.RPa  
f lB,_  
struts.configuration.xml.reload vvM)Rb,  
      Whether to reload the XML configuration or not yn#h$o<  
      是否加载xml配置(true,false) JB(;[#'~  
~/U0S.C  
struts.continuations.package ZH(.| NaH  
      The package containing actions that use Rife continuations YzZF^q^I  
      含有actions的完整连续的package名称  5q ,  
Vd0GTpB?1  
struts.custom.i18n.resources |u{QI3#'  
      Location of additional localization properties files to load Pp/{keEye  
      加载附加的国际化属性文件(不包含.properties后缀) v/czW\z  
wF uh6!J  
struts.custom.properties OVyy}1Hx  
      Location of additional configuration properties files to load n{t',r50  
      加载附加的配置文件的位置 @;6}xO2  
jEsTw_  
gxOmbQt@;  
struts.devMode V8yX7yx  
      Whether Struts is in development mode or not \Wc/kY3&  
      是否为struts开发模式 gn"&/M9E  
^eW.hNg  
struts.dispatcher.parametersWorkaround fqb$_>3Ol  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic v)yimIHzo  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {{3H\ rR  
N >!xedw=  
struts.enable.DynamicMethodInvocation U_- K6:tr  
      Allows one to disable dynamic method invocation from the URL ? sW`**j  
        允许动态方法调用 : xZC7"  
?Q)Z..7  
struts.freemarker.manager.classname wWw/1i:|'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z5Ihc%J^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 RuNH (>Eb  
+&,\ J9'B  
struts.i18n.encoding  vkpV,}H  
      The encoding to use for localization messages ]&U|d  
      国际化信息内码 \hW73a!  
|u"R(7N*  
struts.i18n.reload iwJ-<v_:h  
      Whether the localization messages should automatically be reloaded %_MR.J+m2  
      是否国际化信息自动加载 1K9?a;.  
:5M}Iz7  
struts.locale ,?<h] !aQ  
      The default locale for the Struts application $Ds]\j*  
      默认的国际化地区信息 GFdJFQio  
R9/xC7l@  
struts.mapper.class #}7m'F  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0^.4eX:E_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %C6zXiO"  
q>(u>z!  
struts.multipart.maxSize k*3_) S -  
      The maximize size of a multipart request (file upload) `$Flgp0P  
      multipart请求信息的最大尺寸(文件上传用) fC GDL6E  
1+tt'  
struts.multipart.parser gpK_0?%  
      The org.apache.struts2.dispatcher.multipart. E'S;4B5?  
      MultiPartRequest parser implementation for a multipart request (file upload) Xb@z7X#O!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5m USh3  
/Np"J  
w+9C/U;|s  
struts.multipart.saveDir a]Da`$T  
      The directory to use for storing uploaded files h"1"h.  
      设置存储上传文件的目录夹 Ya&\ly /i  
QGv:h[b_  
struts.objectFactory -)a_ub  
      The com.opensymphony.xwork2.ObjectFactory implementation class Ed&,[rC  
      com.opensymphony.xwork2.ObjectFactory接口(spring) , HI%Xn  
Rc:cVK  
struts.objectFactory.spring.autoWire 5?{ >9j5  
      Whether Spring should autoWire or not @z$pPo0fW  
      是否自动绑定Spring zNr_W[  
a.}:d30  
struts.objectFactory.spring.useClassCache F `pyhc>1;  
      Whether Spring should use its class cache or not S,Wl)\  
      是否spring应该使用自身的cache qe6C|W~n  
>RL6Jbo|  
struts.objectTypeDeterminer r< ?o}Qq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4`!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jU4)zN/`r  
j&[3Be'pQ  
struts.serve.static.browserCache "E ok;io  
If static content served by the Struts filter should set browser caching header properties or not K!- &Zv  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wO_pcNYZ8  
M,_^hm7  
struts.serve.static -4y)qGb*?  
      Whether the Struts filter should serve static content or not uU[[[LQq  
      是否struts过滤器应该提供静态内容 mWN1Q<vn,l  
k$0|^GL8  
struts.tag.altSyntax g"Q}h  
      Whether to use the alterative syntax for the tags or not ^E<~zO=Z  
      是否可以用替代的语法替代tags =2g[tsY  
M89-*1  
struts.ui.templateDir q]iKz%|Z/  
      The directory containing UI templates ."F'5eTT~  
      UI templates的目录夹 6Y>,e;R  
9#s95R O  
struts.ui.theme ]cLEuE^&  
      The default UI template theme fUp|3bBE  
      默认的UI template主题 9&XV}I,~?|  
7SA-OFM  
struts.url.http.port %7C%`)T]  
      The HTTP port used by Struts URLs i^yH?bH @~  
      设置http端口 n $O.>  
N'eQ>2>O@  
struts.url.https.port 9 N*S-Po=  
      The HTTPS port used by Struts URLs _Qm7x>NT4  
      设置https端口 x  tYV"  
B~V<n&<  
struts.url.includeParams a9? v\hG  
      The default includeParams method to generate Struts URLs \N`fWh8&  
      在url中产生 默认的includeParams j'#jnP*P  
J3lG"Ww  
Z0()pT  
struts.velocity.configfile as\<nPT{Fj  
      The Velocity configuration file path Xc8= 2n  
      velocity配置文件路径 VVI8)h8  
/`4v"f0V  
struts.velocity.contexts V 5e\%  
      List of Velocity context names Q*09 E  
      velocity的context列表 hapB! ~M?  
,<0Rf  
HQ|o%9~  
struts.velocity.manager.classname b!4N)t>gl  
      org.apache.struts2.views.velocity.VelocityManager implementation class Tsm)&$JI8  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^MWEfPt  
#Dj"W8'zh  
struts.velocity.toolboxlocation mHK@(D7X  
      The location of the Velocity toolbox BB2_J=wA  
      velocity工具盒的位置 45Nv_4s  
struts.xslt.nocache 2X qTyf<  
      Whether or not XSLT templates should not be cached $'A4RVVT  
      是否XSLT模版应该被缓存 86;+r'3p.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八