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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,3N>`]Km'  
83 <CDjD  
struts.action.extension \*[DR R0  
      The URL extension to use to determine if the request is meant for a Struts action Em !%3C1r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GUZ.Pw  
;wkMa;%`g|  
struts.configuration ` FOCX;  
      The org.apache.struts2.config.Configuration implementation class KA{&NFx  
        org.apache.struts2.config.Configuration接口名 r)#W`A1{A  
{xeJO:M3/  
struts.configuration.files iD*Hh-  
      A list of configuration files automatically loaded by Struts \Y>b#*m(4  
      struts自动加载的一个配置文件列表 at4JLbk  
>]8(3&zd  
struts.configuration.xml.reload ~(8fUob  
      Whether to reload the XML configuration or not 4.^T~n G  
      是否加载xml配置(true,false) _QEw=*.<  
0N~kq-6.\  
struts.continuations.package 6 Ia HaV+P  
      The package containing actions that use Rife continuations ptrwZ8'  
      含有actions的完整连续的package名称 ,n[<[tkCR  
6<T:B[a-  
struts.custom.i18n.resources 1Iy1xiP  
      Location of additional localization properties files to load :P/VBXh  
      加载附加的国际化属性文件(不包含.properties后缀) @_?2iN?4Z  
Hi$R"O (  
struts.custom.properties jXLd#6  
      Location of additional configuration properties files to load \Oq8kJ=  
      加载附加的配置文件的位置 Qrt\bz h/}  
Vjs'|%P7  
S3l^h4  
struts.devMode K4jHha  
      Whether Struts is in development mode or not tjt^R$[@  
      是否为struts开发模式 Le:C8^  
|9=A"092{  
struts.dispatcher.parametersWorkaround ?_d6 ;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1Acs0` 3  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >~nr,V.q  
pZ}B/j  
struts.enable.DynamicMethodInvocation 2|=hF9  
      Allows one to disable dynamic method invocation from the URL 4>i\r  
        允许动态方法调用 :\JCxS=EW  
W#~7X  
struts.freemarker.manager.classname LXh }U>a9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ge1. HG  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C1e@{>  
|Z94@uB  
struts.i18n.encoding DqT<bNR1*;  
      The encoding to use for localization messages [K$5 Rm5  
      国际化信息内码 `_)H aF>/  
^)?Wm,{"w  
struts.i18n.reload 38D5vT)n  
      Whether the localization messages should automatically be reloaded fs 2MYat  
      是否国际化信息自动加载 $BMXjXd}  
\ c4jGJ  
struts.locale Fz';H  
      The default locale for the Struts application OPDT:e86Y=  
      默认的国际化地区信息 ~qj(&[U{c\  
%K4M`R|2]  
struts.mapper.class J)Y`G4l2@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <O 0Q]`i  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ao8ua|:  
 Q&xH  
struts.multipart.maxSize ~Ym _ {  
      The maximize size of a multipart request (file upload) {%G9iOV.  
      multipart请求信息的最大尺寸(文件上传用) ^J#*sn  
O^`EuaL  
struts.multipart.parser ,\iHgsZ  
      The org.apache.struts2.dispatcher.multipart. tngB;9c+w  
      MultiPartRequest parser implementation for a multipart request (file upload) \/YRhQ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) i,r:R g~  
P0}{xq'k9v  
%S;AM\o4  
struts.multipart.saveDir 6!"wiM"]  
      The directory to use for storing uploaded files nK :YbLdK,  
      设置存储上传文件的目录夹 HvG %##  
d-B+s%>D  
struts.objectFactory H?];8wq$G  
      The com.opensymphony.xwork2.ObjectFactory implementation class ]"Uzn  
      com.opensymphony.xwork2.ObjectFactory接口(spring) K<*6E@+i  
IU"  
struts.objectFactory.spring.autoWire GNMOHqg4  
      Whether Spring should autoWire or not K 77iv  
      是否自动绑定Spring o13jd NQ-  
XqmB%g(  
struts.objectFactory.spring.useClassCache 7j\^h2  
      Whether Spring should use its class cache or not t<Yi!6  
      是否spring应该使用自身的cache 6/S. sj~  
n8<?<-2  
struts.objectTypeDeterminer XeI2 <=@%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class FSA%,b; U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _GG\SWm  
# -luE  
struts.serve.static.browserCache tJ6@Ot  
If static content served by the Struts filter should set browser caching header properties or not b!@PS$BTxq  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~r.R|f]IQ  
!l0]IX` F  
struts.serve.static TM(y%!\  
      Whether the Struts filter should serve static content or not {1OxJn1hd  
      是否struts过滤器应该提供静态内容 pNb2t/8%%  
\~hrS/$[$  
struts.tag.altSyntax :>fT=$i@  
      Whether to use the alterative syntax for the tags or not }CBQdH&g;  
      是否可以用替代的语法替代tags +-@n}xb@  
nXRa_M(z8  
struts.ui.templateDir `HRL .uX  
      The directory containing UI templates ~-zTY&c_  
      UI templates的目录夹 ~JXz  
cuQ!"iH  
struts.ui.theme \s*M5oN]]  
      The default UI template theme ki'$P.v{$w  
      默认的UI template主题 X vaIOt>A  
]#]Z]9w  
struts.url.http.port {Ge{@1  
      The HTTP port used by Struts URLs @.W;3|~qc  
      设置http端口 GGuU(sL*  
src9EeiV  
struts.url.https.port A7X a  
      The HTTPS port used by Struts URLs P5<9;PPbZ  
      设置https端口 [Y](Y3/.N  
'Bue*  
struts.url.includeParams d&Nnp jH}c  
      The default includeParams method to generate Struts URLs dBXiLrEbs  
      在url中产生 默认的includeParams 7~XC_Yc1  
?wB_fDb}  
AZ3T#f![L@  
struts.velocity.configfile $ ZI ]  
      The Velocity configuration file path _aFe9+y  
      velocity配置文件路径 eC!=4_lx)  
dS6 $  
struts.velocity.contexts H d|p@$I  
      List of Velocity context names 4^W!,@W  
      velocity的context列表 b e8T<F  
wG,"X'1  
r/sSkF F  
struts.velocity.manager.classname xT+_JT65  
      org.apache.struts2.views.velocity.VelocityManager implementation class I<D#   
      org.apache.struts2.views.velocity.VelocityManager接口名 \AwkK3  
u}nSdZC  
struts.velocity.toolboxlocation Gm B&TD m  
      The location of the Velocity toolbox wo0j/4o  
      velocity工具盒的位置 BXYHJ  
struts.xslt.nocache 9w=7A>.U  
      Whether or not XSLT templates should not be cached +F)-n2Bi  
      是否XSLT模版应该被缓存 i{6&/TBnr  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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