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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 lf#5X)V  
kQD~v+u{`  
struts.action.extension $bl<mG%#9  
      The URL extension to use to determine if the request is meant for a Struts action 9Y+7o%6e  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 F0tcVdv  
OV|n/~  
struts.configuration s*R UYx  
      The org.apache.struts2.config.Configuration implementation class Zi{vEI]  
        org.apache.struts2.config.Configuration接口名 U#:N/ts*(  
X 4\V4_  
struts.configuration.files >dXB)yl  
      A list of configuration files automatically loaded by Struts T%4yPmY  
      struts自动加载的一个配置文件列表 >4bWXb'S}C  
-ufaV#  
struts.configuration.xml.reload 'LYN{  
      Whether to reload the XML configuration or not X@za4d  
      是否加载xml配置(true,false) {01^xn.  
M[P1hFuna  
struts.continuations.package .rQcg.8/B  
      The package containing actions that use Rife continuations N?IdaVLj  
      含有actions的完整连续的package名称 ;?C`Jag x  
Q w)U  
struts.custom.i18n.resources w5=<}1`St  
      Location of additional localization properties files to load )JY#8,{w  
      加载附加的国际化属性文件(不包含.properties后缀) d2fiPI7lg  
.|@2Uf  
struts.custom.properties duc\/S'  
      Location of additional configuration properties files to load q);oO\<  
      加载附加的配置文件的位置 0{/'[o7  
Wr`<bLq1vs  
m -0}Pe9L  
struts.devMode mQ3gp&d3W  
      Whether Struts is in development mode or not 5w5"rcV  
      是否为struts开发模式 0E9 lv"3o  
,/Q`gRBh"  
struts.dispatcher.parametersWorkaround SgkW-#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i ^, $/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5?.!A 'zb  
P|ftEF  
struts.enable.DynamicMethodInvocation &FG0v<f5Pv  
      Allows one to disable dynamic method invocation from the URL 9Y?``QBN  
        允许动态方法调用 5 %+epzy  
G 2uM6  
struts.freemarker.manager.classname Z/q'^PB p  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class yji>vJHu  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =3PZGdWD  
lo-VfKvy  
struts.i18n.encoding 5a4i)I6 3o  
      The encoding to use for localization messages %~P3t=r  
      国际化信息内码 ,YRBYK:  
#Q BW%L  
struts.i18n.reload JsEnhE}]  
      Whether the localization messages should automatically be reloaded WR_B:%W.  
      是否国际化信息自动加载 hqV_MeHv'  
@u`m6``T  
struts.locale <pM6fI6BD  
      The default locale for the Struts application :;\xyy}A  
      默认的国际化地区信息 Gp=V%w\FDW  
fi%lN_Ev?  
struts.mapper.class >^SQrB   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class BZIU@^Q_Y[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 GC|V>| tz#  
iFZ.a.NDc  
struts.multipart.maxSize Ym6v4k!@O  
      The maximize size of a multipart request (file upload) _ Td#C1g3  
      multipart请求信息的最大尺寸(文件上传用) pcQgWjfS  
?Zb3M  
struts.multipart.parser T8^l}Y B  
      The org.apache.struts2.dispatcher.multipart. k> ~D  
      MultiPartRequest parser implementation for a multipart request (file upload) Kd\d>&b  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) X9?0`6Li  
ilZQ/hOBH  
{asq[;]  
struts.multipart.saveDir PKd'lo  
      The directory to use for storing uploaded files X{:3UTBR  
      设置存储上传文件的目录夹 ,; Uf>8~  
 Hs6Kki1  
struts.objectFactory A@-U#UvN  
      The com.opensymphony.xwork2.ObjectFactory implementation class dj}|EW4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) UzW]kY[A<  
=CO'LyG  
struts.objectFactory.spring.autoWire j%}9tM6[  
      Whether Spring should autoWire or not M"-.D;sa1  
      是否自动绑定Spring f1 XM_  
OGO\u#  
struts.objectFactory.spring.useClassCache 3QF[@8EH{  
      Whether Spring should use its class cache or not  QB !%  
      是否spring应该使用自身的cache _C19eW'  
T7o7t5*  
struts.objectTypeDeterminer q s:TR  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class iiWpm E<,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Tl#2w=  
TD78&a#  
struts.serve.static.browserCache jvpv1>KYV  
If static content served by the Struts filter should set browser caching header properties or not F+L%Ho;@P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 . g-  HB'  
}}bMq.Q'  
struts.serve.static = J]M#6N0  
      Whether the Struts filter should serve static content or not 9W-1P}e,  
      是否struts过滤器应该提供静态内容 8"p rWAN  
|:,`dQfw  
struts.tag.altSyntax /lhk} y^  
      Whether to use the alterative syntax for the tags or not 4J?\JcGs  
      是否可以用替代的语法替代tags /2MZH  
.v-2A);I  
struts.ui.templateDir BkY#wJ'  
      The directory containing UI templates ab#z&jg!  
      UI templates的目录夹 BB_(!omq[  
OX?E3 <8`  
struts.ui.theme L[<CEk  
      The default UI template theme ^ > ?C  
      默认的UI template主题 ^/#8 "  
h"'}Z^  
struts.url.http.port )1$H 7|  
      The HTTP port used by Struts URLs =#A/d `2 b  
      设置http端口 <9T,J"y  
L+eK)Q  
struts.url.https.port @ZrNV*&<  
      The HTTPS port used by Struts URLs Hs{x Z:  
      设置https端口 JY,oXA6O  
FlY"OU*  
struts.url.includeParams 2fNNdxdbT  
      The default includeParams method to generate Struts URLs HrMbp  
      在url中产生 默认的includeParams EQX<<x"  
"-j96 KD  
fwh/#V-i  
struts.velocity.configfile R<%{I)  
      The Velocity configuration file path ^:,wk7  
      velocity配置文件路径 ooP{Q r  
A,(9|#%L  
struts.velocity.contexts r;E5e]w*-  
      List of Velocity context names V#R; -C  
      velocity的context列表 Ndyo)11z  
E`{DX9^  
Mm1>g~o  
struts.velocity.manager.classname MXjN ./  
      org.apache.struts2.views.velocity.VelocityManager implementation class C5jt(!pi  
      org.apache.struts2.views.velocity.VelocityManager接口名 #r1y|)m`  
M 9NT%7Il  
struts.velocity.toolboxlocation J)|I/8!#  
      The location of the Velocity toolbox t:v>W8N53  
      velocity工具盒的位置 2izBB,# "  
struts.xslt.nocache M@p<L VP  
      Whether or not XSLT templates should not be cached 'pO-h,{TS  
      是否XSLT模版应该被缓存 [fELf(;(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八