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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f._l105.  
=?/N5O(  
struts.action.extension 7 I_1 #O  
      The URL extension to use to determine if the request is meant for a Struts action |@ikx{W  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3iE-6udCS  
zRwb"  
struts.configuration +kjzn]} f  
      The org.apache.struts2.config.Configuration implementation class WnD^F>  
        org.apache.struts2.config.Configuration接口名 :GU,EDps  
P^ptsZ%  
struts.configuration.files ;~ W8v.EW  
      A list of configuration files automatically loaded by Struts s %eyW _  
      struts自动加载的一个配置文件列表 G 1]"s@8(  
6!P`XTTE  
struts.configuration.xml.reload kf<c, 3A  
      Whether to reload the XML configuration or not exfm q  
      是否加载xml配置(true,false) uxWFM $  
gks ==|s.  
struts.continuations.package }$o*  
      The package containing actions that use Rife continuations 4L8z>9D  
      含有actions的完整连续的package名称 !Citzor  
/:bKqAz;M  
struts.custom.i18n.resources x&'o ]Y  
      Location of additional localization properties files to load *yJ[zXXjJ  
      加载附加的国际化属性文件(不包含.properties后缀) led))qd@V-  
@.'z* |z  
struts.custom.properties ~@{w\%(AK]  
      Location of additional configuration properties files to load (=1)y'.  
      加载附加的配置文件的位置 ))!Bg?t-  
2@vJ  
!)N|J$FU  
struts.devMode 7_-w_"X  
      Whether Struts is in development mode or not *n8%F9F  
      是否为struts开发模式 WvujcmOf  
;x-(kIiE  
struts.dispatcher.parametersWorkaround BT]ua]T+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic iZaeoy  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oh6B3>>+  
cB#nsu>  
struts.enable.DynamicMethodInvocation n|Pr/ddL   
      Allows one to disable dynamic method invocation from the URL bp#:UUO%S  
        允许动态方法调用 P.djd$#  
|g%mP1O  
struts.freemarker.manager.classname 'Gjq/L/x  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h35Hu_c&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2#3^skj  
UfO7+_2  
struts.i18n.encoding b;#\~( a  
      The encoding to use for localization messages 5!Bktgk.  
      国际化信息内码 *5e+@rD`  
w1r$='*I  
struts.i18n.reload ZQ3_y $  
      Whether the localization messages should automatically be reloaded 1j0-9Kg'  
      是否国际化信息自动加载 q_ %cbAcD  
\?DR s  
struts.locale f6!D L<  
      The default locale for the Struts application 4,G w#@  
      默认的国际化地区信息 e*C6uz9N  
y:d{jG^  
struts.mapper.class =p@8z /u  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !"Q}R p  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 EVt? C+  
PmR*}Aw  
struts.multipart.maxSize 1f#mHt:(  
      The maximize size of a multipart request (file upload) ]"F5;p; y  
      multipart请求信息的最大尺寸(文件上传用) ""{|3XJe  
fQ 7vL~E  
struts.multipart.parser +Llo81j&  
      The org.apache.struts2.dispatcher.multipart. p@YB?#Im  
      MultiPartRequest parser implementation for a multipart request (file upload) Vw#{C>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) LZ U$  
hXn3,3f3oZ  
pI;NL [  
struts.multipart.saveDir eKN$jlg  
      The directory to use for storing uploaded files !:CJPM6j3  
      设置存储上传文件的目录夹 _q?<at}y  
}P9Ap3?  
struts.objectFactory '9?;"=6(  
      The com.opensymphony.xwork2.ObjectFactory implementation class Vp}^NNYf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) N^w'Hw0  
}-@4vl x$  
struts.objectFactory.spring.autoWire LfLFu9#:w  
      Whether Spring should autoWire or not HKO739&n}  
      是否自动绑定Spring 8K9$,Ii  
%ZP+zh n}  
struts.objectFactory.spring.useClassCache }_ mT l@*  
      Whether Spring should use its class cache or not _qXa=|}V.  
      是否spring应该使用自身的cache PX(p X>  
2F`cv1M  
struts.objectTypeDeterminer |=a}iU8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <spZ! #o  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :-`7Q\c}  
fyWO  
struts.serve.static.browserCache H ?M/mGP  
If static content served by the Struts filter should set browser caching header properties or not !0,Mp@ j/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vhuw &.\  
nqVZqX@oE  
struts.serve.static M$Zo.Bl$(  
      Whether the Struts filter should serve static content or not 2[fN\e{  
      是否struts过滤器应该提供静态内容 %wptZ"2M  
clw%B  
struts.tag.altSyntax qU6nJi+-I  
      Whether to use the alterative syntax for the tags or not 9Z5D\yv?H  
      是否可以用替代的语法替代tags B[4pX +f  
eP.Vd7ky  
struts.ui.templateDir Va VN  
      The directory containing UI templates 6$fYt&1  
      UI templates的目录夹 <#GB[kQa  
KInk^`C/H  
struts.ui.theme F0vM0 e-  
      The default UI template theme 6]zd.W  
      默认的UI template主题 !2UOC P  
{O<l[|Ip  
struts.url.http.port G` fC/Le  
      The HTTP port used by Struts URLs >gwz,{  
      设置http端口 u]+~VT1C,3  
:'F}Dy  
struts.url.https.port hI?sOR!  
      The HTTPS port used by Struts URLs G 0O#/%%  
      设置https端口 p[lNy{u~M  
mGUO6>g  
struts.url.includeParams `U#55k9^5  
      The default includeParams method to generate Struts URLs [.hyZ}B  
      在url中产生 默认的includeParams 4'4\ ,o  
/&F,V+x  
AcI,N~~  
struts.velocity.configfile :l7U>~ o  
      The Velocity configuration file path VhjM>(  
      velocity配置文件路径 mC?i}+4>4R  
~8"8w(CG*I  
struts.velocity.contexts 8t@p @Td|  
      List of Velocity context names ]?x: Qm'yo  
      velocity的context列表 f7h*Vu`>  
@/ZF` :   
c|F[.;cR  
struts.velocity.manager.classname LK6; ? m  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7\*FEjRM]  
      org.apache.struts2.views.velocity.VelocityManager接口名 SS`qJZ|w  
s&\I=J.  
struts.velocity.toolboxlocation |-V&O=!^+  
      The location of the Velocity toolbox ~4P%%b0,o  
      velocity工具盒的位置 _k8A$s<d  
struts.xslt.nocache (b'B%rFO  
      Whether or not XSLT templates should not be cached ?4H i-  
      是否XSLT模版应该被缓存 upj]6f"(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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