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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 AP9>_0=  
6& KcO:}-  
struts.action.extension *6wt+twH  
      The URL extension to use to determine if the request is meant for a Struts action M.K%;j`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 lZJbQ=K{  
E`#/m@:|-  
struts.configuration \t ^9UN  
      The org.apache.struts2.config.Configuration implementation class )sLXtV)nm6  
        org.apache.struts2.config.Configuration接口名 ^Is#_Z|  
3M"eAK([  
struts.configuration.files :+Tvq,/"  
      A list of configuration files automatically loaded by Struts y eWB.M~X  
      struts自动加载的一个配置文件列表 JgMYy,q8t  
qa,i:T(w  
struts.configuration.xml.reload IzlmcP3  
      Whether to reload the XML configuration or not xeW}`i5_w  
      是否加载xml配置(true,false) s&L 6C[  
XXy &1C  
struts.continuations.package CD pLV:  
      The package containing actions that use Rife continuations O0QK `F/)*  
      含有actions的完整连续的package名称 _)MbvF  
.&rL>A2U  
struts.custom.i18n.resources ; mwU>l,4  
      Location of additional localization properties files to load ;oWak`]f  
      加载附加的国际化属性文件(不包含.properties后缀) W+BHt{  
}TG=ZVi  
struts.custom.properties 'Omj-o'tn9  
      Location of additional configuration properties files to load )26_7.|  
      加载附加的配置文件的位置 :,Mg1Zf  
B8NMo5a  
wqAj=1M\  
struts.devMode -GT&46hX  
      Whether Struts is in development mode or not 94xWMX2  
      是否为struts开发模式 i| CAN,'  
WoWmmZ  
struts.dispatcher.parametersWorkaround sJ7ZE-v]h  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GI)eq:K_U8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t&H3yV  
lH"4"r  
struts.enable.DynamicMethodInvocation PLhlbzcf  
      Allows one to disable dynamic method invocation from the URL Qw.j  
        允许动态方法调用 k/ hNap'0  
M{O8iq[  
struts.freemarker.manager.classname 66|$X,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class m[D]4h9  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 tQ Ia6c4|  
lR0WDJv  
struts.i18n.encoding 4(TR'_X(  
      The encoding to use for localization messages ':DLv{R  
      国际化信息内码 2)(ynrCe  
r;8X6C  
struts.i18n.reload 3oMhsQz~z  
      Whether the localization messages should automatically be reloaded %OAvhutS  
      是否国际化信息自动加载 Qb?e A  
.{4U]a;[  
struts.locale M7\yEi"*  
      The default locale for the Struts application |6GDIoZ  
      默认的国际化地区信息 1[4 0\sM  
^e(*{K;8  
struts.mapper.class +|zcjI'=O  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )GR4U8<>g  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 rA[wC%%  
CC,CKb  
struts.multipart.maxSize W \XLf,_+  
      The maximize size of a multipart request (file upload) C(}N*e1  
      multipart请求信息的最大尺寸(文件上传用) ZHimS7  
t>JPK_b0  
struts.multipart.parser H1-eMDe  
      The org.apache.struts2.dispatcher.multipart. y8$I=  
      MultiPartRequest parser implementation for a multipart request (file upload) G1G*TSf  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J1"16Uu  
 $M|  
Zce/&  
struts.multipart.saveDir o+F < r#  
      The directory to use for storing uploaded files 1`)e}p&  
      设置存储上传文件的目录夹 +\U#:gmw  
]La~Bh6;m  
struts.objectFactory 0{qe1pb w  
      The com.opensymphony.xwork2.ObjectFactory implementation class GEtzLaq<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Sd+bnq%  
"g:1br?X,9  
struts.objectFactory.spring.autoWire rObg:(z&\  
      Whether Spring should autoWire or not DE!c+s_g4  
      是否自动绑定Spring {8T/;K@  
0$=w8tP)  
struts.objectFactory.spring.useClassCache U5yBU9\G  
      Whether Spring should use its class cache or not bDjm:G  
      是否spring应该使用自身的cache 0[.T`tpN'  
7~!F3WT{  
struts.objectTypeDeterminer q#\4/Dt  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PauF)p  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X ;Cl8  
;|pw;-  
struts.serve.static.browserCache og`K! d~  
If static content served by the Struts filter should set browser caching header properties or not d[`vd^hI  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ";;Nc>-Y  
v \dP  
struts.serve.static Hv-f :P O  
      Whether the Struts filter should serve static content or not RX?y}BDo0  
      是否struts过滤器应该提供静态内容 hw2Sb,bY  
< Wm'V-  
struts.tag.altSyntax #j4RX:T*[  
      Whether to use the alterative syntax for the tags or not ^NXxMC( e+  
      是否可以用替代的语法替代tags N"A`tc5&  
B3&C=*y  
struts.ui.templateDir w7Ij=!)  
      The directory containing UI templates ?,w9e|  
      UI templates的目录夹 T\w{&3ONm  
Y(F>;/AA  
struts.ui.theme tL]T_]z  
      The default UI template theme Yht |^ =a  
      默认的UI template主题 -+y3~^EYm,  
rw.DKM'  
struts.url.http.port sFw;P`  
      The HTTP port used by Struts URLs Wo{4*~f  
      设置http端口 .4[M7)  
p4vX3?&1W  
struts.url.https.port ]JH Int  
      The HTTPS port used by Struts URLs 2]cU:j6G  
      设置https端口 Q!{,^Qb  
PO*0jO;%  
struts.url.includeParams ,c|Ai(U  
      The default includeParams method to generate Struts URLs /YHnt-}v,  
      在url中产生 默认的includeParams 1!;4I@W(I)  
v)JS4KS  
xM?tdQ~VHY  
struts.velocity.configfile B-h@\y  
      The Velocity configuration file path soh9Oedml-  
      velocity配置文件路径 ]h'*L`  
kL"Y>@H  
struts.velocity.contexts pkc*toW  
      List of Velocity context names ]/7#[  
      velocity的context列表 `#?]g!  
2}rYH;Mx  
}pKKNZ`[  
struts.velocity.manager.classname BBa!l e9P  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6|QIzs<Z-X  
      org.apache.struts2.views.velocity.VelocityManager接口名 H3+P;2 {  
ZhFlR*EQ  
struts.velocity.toolboxlocation q<Y#-Io%3  
      The location of the Velocity toolbox UZ!It>  
      velocity工具盒的位置 #9t3<H[  
struts.xslt.nocache vf-8DB  
      Whether or not XSLT templates should not be cached { a_&L  
      是否XSLT模版应该被缓存 4A)_D{(SH  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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