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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i9zh X1#  
,hu@V\SKv  
struts.action.extension iAQ[;M 3p  
      The URL extension to use to determine if the request is meant for a Struts action X Vt;hO  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vT0Op e6m  
-%Vh-;Ie(  
struts.configuration D{Nd2G  
      The org.apache.struts2.config.Configuration implementation class __xmn{{L6P  
        org.apache.struts2.config.Configuration接口名  mjP  
p@% Pdx  
struts.configuration.files .tLRY  
      A list of configuration files automatically loaded by Struts &! h~UZ  
      struts自动加载的一个配置文件列表 ;"0bVs`.^e  
fsPNxy"_  
struts.configuration.xml.reload y>0 @.  
      Whether to reload the XML configuration or not H @k }  
      是否加载xml配置(true,false) hG.}>(VV  
D((/fT)eD  
struts.continuations.package *Vq'%b9  
      The package containing actions that use Rife continuations (^FMm1@T  
      含有actions的完整连续的package名称 BM:p)%Pv#P  
53:u6bb;  
struts.custom.i18n.resources ^_Lnqk6  
      Location of additional localization properties files to load 9ThsR&h3  
      加载附加的国际化属性文件(不包含.properties后缀) %A~. NNbS  
xjU0&  
struts.custom.properties Y=<ABtertS  
      Location of additional configuration properties files to load /<LjD  
      加载附加的配置文件的位置 uKXU.u*C  
!gRU;ZQU_  
q1 q~%+Jy  
struts.devMode sq#C|v/  
      Whether Struts is in development mode or not ,e1c,}  
      是否为struts开发模式 ,/Gp>Yqx  
3=ME$%f  
struts.dispatcher.parametersWorkaround (AZneK :*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }])j>E  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E#m^.B-}  
w/o8R3 F  
struts.enable.DynamicMethodInvocation /rD9)  
      Allows one to disable dynamic method invocation from the URL OI)k0t^;D  
        允许动态方法调用 `O3#/1+  
n~`jUML2d  
struts.freemarker.manager.classname -M]/Xv]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #oEtLb@O  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 i`CNgScF>  
w\d1  
struts.i18n.encoding MJe/ \  
      The encoding to use for localization messages ?P7QAolrr  
      国际化信息内码 S?v;+3TG  
fvTp9T\f3  
struts.i18n.reload :k.>H.8+~  
      Whether the localization messages should automatically be reloaded ]nIVP   
      是否国际化信息自动加载 O>rz+8T  
DP*V|)  
struts.locale r7U[QTM%  
      The default locale for the Struts application Q"pZPpl&  
      默认的国际化地区信息 E(S$Q^  
;erxB6*  
struts.mapper.class vy5{Vm".4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =hh,yi  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A#~CZQY^$  
REJBm  
struts.multipart.maxSize M#],#o*G  
      The maximize size of a multipart request (file upload) Pa\yp?({q  
      multipart请求信息的最大尺寸(文件上传用) y>UQm|o<W  
sV~|9/r  
struts.multipart.parser K^AIqL8  
      The org.apache.struts2.dispatcher.multipart. 0#ePg6n  
      MultiPartRequest parser implementation for a multipart request (file upload) I%{D5.du  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x?R1/iHv  
czo*_q%  
QA!'p1{#  
struts.multipart.saveDir y3'K+?4  
      The directory to use for storing uploaded files @DR?^ qp  
      设置存储上传文件的目录夹 GV)DLHiyxX  
]ao%9:P;  
struts.objectFactory G"<} s mB  
      The com.opensymphony.xwork2.ObjectFactory implementation class ''EFh&F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |2X+( F Ed  
=WFG[~8  
struts.objectFactory.spring.autoWire QN~9O^  
      Whether Spring should autoWire or not gAGcbepX  
      是否自动绑定Spring /EM=!@ka  
+r =p ,leb  
struts.objectFactory.spring.useClassCache 5@Xy) z  
      Whether Spring should use its class cache or not s)~H_,  
      是否spring应该使用自身的cache ?B4X&xf.D  
,n{ |d33  
struts.objectTypeDeterminer CM%;r5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &>auW}r  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 { r8H5X  
z"@UNypc,  
struts.serve.static.browserCache ~c GH+M@  
If static content served by the Struts filter should set browser caching header properties or not X9uYqvP\(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?[Qxq34  
M}F) P&Y  
struts.serve.static Nf{tC9l  
      Whether the Struts filter should serve static content or not bU"2D.k  
      是否struts过滤器应该提供静态内容 AqP7UL  
2Yd;#i)  
struts.tag.altSyntax }%eXGdC  
      Whether to use the alterative syntax for the tags or not ulnlRx  
      是否可以用替代的语法替代tags !Ry4 w|w  
SE!0f&  
struts.ui.templateDir .3 T#:Hl  
      The directory containing UI templates {f)"F;]V  
      UI templates的目录夹 {d,~=s0T  
0j|JyS:}G  
struts.ui.theme s3l:ST  
      The default UI template theme l+8G6?@]>  
      默认的UI template主题 MXU8QVSY"  
V2|XcR  
struts.url.http.port 4~/3MG  
      The HTTP port used by Struts URLs h wfKgsm  
      设置http端口 Vnq&lz%QqC  
9i+SU|;j  
struts.url.https.port pO_L,~<  
      The HTTPS port used by Struts URLs ({AqL#x`u  
      设置https端口 J'>i3e Lq  
tO ^KCnL  
struts.url.includeParams ~<#!yRy>r  
      The default includeParams method to generate Struts URLs U#!f^@&AB  
      在url中产生 默认的includeParams T"$yh2tSY  
m2"~.iM8  
nXOJ  
struts.velocity.configfile Z6`[ dAo  
      The Velocity configuration file path 2oFHP_HVfu  
      velocity配置文件路径 As7Y4w*+  
mN:p=.& <  
struts.velocity.contexts RK`C31Ws  
      List of Velocity context names mxV0"$'Fm  
      velocity的context列表 KoNJ;YiKtN  
-NyfW+T={  
g4 |s9RMD  
struts.velocity.manager.classname JH;\wfr D  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9n${M:F  
      org.apache.struts2.views.velocity.VelocityManager接口名 -?$Hr\  
kW@,P.88  
struts.velocity.toolboxlocation -q.tU*xf'  
      The location of the Velocity toolbox >1Y',0v  
      velocity工具盒的位置 g"iLhm` L  
struts.xslt.nocache g0D(:_QXp:  
      Whether or not XSLT templates should not be cached }vbs6u  
      是否XSLT模版应该被缓存 s" jxj  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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