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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >/A]C$?3  
wyy 1M+  
struts.action.extension ~q3O,bb{   
      The URL extension to use to determine if the request is meant for a Struts action OyO]; Yk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rn?JMM]  
FaeKDbLJr  
struts.configuration 9vV==A#  
      The org.apache.struts2.config.Configuration implementation class 3&y-xZu]  
        org.apache.struts2.config.Configuration接口名 AXlVH%'  
S~3|1Hw*tN  
struts.configuration.files Rge>20uTl$  
      A list of configuration files automatically loaded by Struts wOf8\s1  
      struts自动加载的一个配置文件列表  tKV,  
"J"=<_?  
struts.configuration.xml.reload (m R)o&Y%,  
      Whether to reload the XML configuration or not -$:; en?  
      是否加载xml配置(true,false) (,h2qP-;ud  
w1tM !4r  
struts.continuations.package zP44 Xhz  
      The package containing actions that use Rife continuations 3Z?ornS  
      含有actions的完整连续的package名称 \E?3nQM  
nB`|VYmOP1  
struts.custom.i18n.resources %&6Q Uv^  
      Location of additional localization properties files to load PZ|I3z  
      加载附加的国际化属性文件(不包含.properties后缀) _^& q,S  
N-K/jY  
struts.custom.properties r!&174DSR1  
      Location of additional configuration properties files to load B@(d5i{h  
      加载附加的配置文件的位置 #4Z e2T|  
1b~21n  
#+ch  
struts.devMode #NFB=o JI  
      Whether Struts is in development mode or not h r];!.Fv  
      是否为struts开发模式 "OenYiz  
F1.Xk1y%  
struts.dispatcher.parametersWorkaround \ivxi<SR  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic I D_4M_G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UfX~GC;B  
zcP=+Y)YA  
struts.enable.DynamicMethodInvocation c]u ieig0~  
      Allows one to disable dynamic method invocation from the URL X<,QSTP  
        允许动态方法调用 }[akj8U  
'JOCL0FP  
struts.freemarker.manager.classname gO8d2?Oh  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -yf8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _ dAyw  
$BdwKk !k  
struts.i18n.encoding 23tX"e  
      The encoding to use for localization messages _z#" BN  
      国际化信息内码 8_}t,BC  
oMEW5.VX  
struts.i18n.reload N~,Ipf  
      Whether the localization messages should automatically be reloaded O]tR~a  
      是否国际化信息自动加载 %j\&}>P4$  
ui>jJ(  
struts.locale 3Z" ;a  
      The default locale for the Struts application ?+Gt?-! 5q  
      默认的国际化地区信息 &b|RoPV  
!MKecRG_  
struts.mapper.class )J[m>tyY5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class J!l/.:`6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <W #G)c0  
;}SGJ7  
struts.multipart.maxSize Ye3o}G9z  
      The maximize size of a multipart request (file upload) q5_zsUR=  
      multipart请求信息的最大尺寸(文件上传用) :XhF:c[.:  
Es+I]o0K  
struts.multipart.parser (?Mn_FNE|  
      The org.apache.struts2.dispatcher.multipart. =_`q;Tu=  
      MultiPartRequest parser implementation for a multipart request (file upload) ]`)5 Qe4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &?R/6"J  
V| V 9.  
rC!O}(4t%$  
struts.multipart.saveDir VFf;|PHS  
      The directory to use for storing uploaded files Q2 !GWz$  
      设置存储上传文件的目录夹 qob!AU|  
6-|?ya  
struts.objectFactory S a +Y/  
      The com.opensymphony.xwork2.ObjectFactory implementation class +#eol~j9N  
      com.opensymphony.xwork2.ObjectFactory接口(spring) sMMOZ'bT  
Aars\   
struts.objectFactory.spring.autoWire ',R%Q0Q  
      Whether Spring should autoWire or not |J!mM<*K  
      是否自动绑定Spring $sY'=S  
h\[@J rDa  
struts.objectFactory.spring.useClassCache `o{ Z;-OF  
      Whether Spring should use its class cache or not uLzE'Z mV  
      是否spring应该使用自身的cache JP Zp*5c6A  
iHhdoY[]  
struts.objectTypeDeterminer nook/7]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :k_&Zd j,B  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 i(|u g_^  
a(vt"MQ_  
struts.serve.static.browserCache IVPN=jg?  
If static content served by the Struts filter should set browser caching header properties or not q'8*bu_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Rj";?.R*e  
71@ eJQ  
struts.serve.static @ ;!IPiU  
      Whether the Struts filter should serve static content or not HX2u{2$  
      是否struts过滤器应该提供静态内容 *F%1~  
 ?^Aj\z>  
struts.tag.altSyntax "|X'qKS(H{  
      Whether to use the alterative syntax for the tags or not %Lh%bqGz  
      是否可以用替代的语法替代tags  ijOp{  
, ~ 1+MZ=  
struts.ui.templateDir O5r8Ghf )  
      The directory containing UI templates q%x i>H.:{  
      UI templates的目录夹 'etA1]<N  
OM1Z}%J  
struts.ui.theme LVg#E*J  
      The default UI template theme  [p6:uNo  
      默认的UI template主题 ]B )nN':  
Zy+ERaF|]  
struts.url.http.port EK4%4<"  
      The HTTP port used by Struts URLs {3  
      设置http端口 _5rKuL  
c~tl0XU1  
struts.url.https.port ZRf9'UwS  
      The HTTPS port used by Struts URLs |Lg2;P7\  
      设置https端口 &lLk[/b  
T */I4"  
struts.url.includeParams r{.pXf  
      The default includeParams method to generate Struts URLs j;.P  
      在url中产生 默认的includeParams i!2k f  
|aLK_]!  
26/<\{q~  
struts.velocity.configfile a"-uJn  
      The Velocity configuration file path `"65 _?B i  
      velocity配置文件路径 `:=1*7)?  
;J|t-$Z  
struts.velocity.contexts w=XIpWl  
      List of Velocity context names !M8_PC*a  
      velocity的context列表 F% n}vA`  
{LjzkXs  
{Lal5E4-  
struts.velocity.manager.classname ;<0vvP|  
      org.apache.struts2.views.velocity.VelocityManager implementation class Q &W>h/  
      org.apache.struts2.views.velocity.VelocityManager接口名 1\( N,'h  
[TA.|7&  
struts.velocity.toolboxlocation #Gi`s?  
      The location of the Velocity toolbox `T*Y1@FV  
      velocity工具盒的位置 *{VC<<`  
struts.xslt.nocache cRs.@U\{R\  
      Whether or not XSLT templates should not be cached _p8u &TZ  
      是否XSLT模版应该被缓存 0s-K oz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五