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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Cp(2]Eb  
Z.Yq)\it  
struts.action.extension k1q/L|')  
      The URL extension to use to determine if the request is meant for a Struts action oDV6[e  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;o3gR4u_L  
_yv#v_Z  
struts.configuration c%C6d97q  
      The org.apache.struts2.config.Configuration implementation class >i,_qe?V:w  
        org.apache.struts2.config.Configuration接口名 1*9.K'  
4_kN';a4Q  
struts.configuration.files tLWw< )t  
      A list of configuration files automatically loaded by Struts Bj1%}B  
      struts自动加载的一个配置文件列表 R ,qQC<  
A vq+s.h  
struts.configuration.xml.reload >< $LV&  
      Whether to reload the XML configuration or not WA8<:#{e  
      是否加载xml配置(true,false) @wgd 3BU  
]~I+d/k d  
struts.continuations.package uy'seJ  
      The package containing actions that use Rife continuations )rK2%\Z  
      含有actions的完整连续的package名称 \~ChbPnc  
+ODua@ULFB  
struts.custom.i18n.resources OALNZKP  
      Location of additional localization properties files to load x_nwD"   
      加载附加的国际化属性文件(不包含.properties后缀) ^~;ia7V&2  
+Cw_qS"=  
struts.custom.properties  ~2"hh$  
      Location of additional configuration properties files to load )"pvF8JR%3  
      加载附加的配置文件的位置 R~4X?@ZB  
n(J>'Z  
RyJy%| \-S  
struts.devMode xKG7d8=  
      Whether Struts is in development mode or not );h(D!D,  
      是否为struts开发模式 ^obuMQ;  
9pqsr~  
struts.dispatcher.parametersWorkaround V_gl#e#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic b<00 %Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Bzrnmz5S  
:J`@@H  
struts.enable.DynamicMethodInvocation Wr%ov6:  
      Allows one to disable dynamic method invocation from the URL  f\<r1  
        允许动态方法调用 I_<XL<  
x3=1/#9  
struts.freemarker.manager.classname ki9&AFs2X  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !k)6r6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /RxP:>hVv  
'\I(n|\  
struts.i18n.encoding 2+gbMd4n  
      The encoding to use for localization messages 8|i'~BFHs  
      国际化信息内码 4w^o !  
yV!4Im.>  
struts.i18n.reload T+v*@#iJ_  
      Whether the localization messages should automatically be reloaded WFOJg&  
      是否国际化信息自动加载 x,,y}_YX  
Io]FDPN  
struts.locale V.P<>~W  
      The default locale for the Struts application TlS? S+  
      默认的国际化地区信息 HrBJi  
a/j;1xcc<  
struts.mapper.class F3}MM dX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {h?pvH_>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &J6`Q<U!  
N&NBn(  
struts.multipart.maxSize }`B .(3n  
      The maximize size of a multipart request (file upload) _]`7et\=  
      multipart请求信息的最大尺寸(文件上传用) [s>3xWZ+a  
fY!?rZ)$  
struts.multipart.parser X_TjJmc  
      The org.apache.struts2.dispatcher.multipart. 0SIC=p=J  
      MultiPartRequest parser implementation for a multipart request (file upload) NUFz'MPv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5l6/5  
!CGX\cvW  
"tz6O0D  
struts.multipart.saveDir \Fz9O-jb4  
      The directory to use for storing uploaded files hpAdoy[  
      设置存储上传文件的目录夹 $N=&D_Q  
R |c=I }@F  
struts.objectFactory xm{]|~^JG  
      The com.opensymphony.xwork2.ObjectFactory implementation class OyZR&,q  
      com.opensymphony.xwork2.ObjectFactory接口(spring) JN0h3nZ_  
+ Q-b}  
struts.objectFactory.spring.autoWire tK%ie\  
      Whether Spring should autoWire or not fjRVYOG#  
      是否自动绑定Spring OUv<a `0  
pLB2! +  
struts.objectFactory.spring.useClassCache UCLM*`M  
      Whether Spring should use its class cache or not 1INX#qTZ  
      是否spring应该使用自身的cache z'q~%1t  
S}@7Z`  
struts.objectTypeDeterminer y&NqVR=   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M~taZt4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /t0L%jJZ  
j<t3bM-G  
struts.serve.static.browserCache :,l7e  
If static content served by the Struts filter should set browser caching header properties or not a: "1LnvR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1B~O!']N<  
>v:ex(y0  
struts.serve.static ra$:ibLN  
      Whether the Struts filter should serve static content or not FU3K?A B  
      是否struts过滤器应该提供静态内容 .k,j64 r  
c{MoeIG)v@  
struts.tag.altSyntax u\*9\ G  
      Whether to use the alterative syntax for the tags or not UBaXS_c\  
      是否可以用替代的语法替代tags 2Vx4"fHP#N  
y(COB6r  
struts.ui.templateDir Pd91<L  
      The directory containing UI templates z#tIa  
      UI templates的目录夹 iq; | i!  
75# 8P?i  
struts.ui.theme g&$=Y7G  
      The default UI template theme tIuM9D{P  
      默认的UI template主题 *2/Jg'de  
axC|,8~tq  
struts.url.http.port ,;g%/6X  
      The HTTP port used by Struts URLs P@7>R7gS  
      设置http端口 <0CjEsAB]  
NHd@s#@  
struts.url.https.port #A/OGi  
      The HTTPS port used by Struts URLs ")Fd'&58  
      设置https端口 ?@b6(f xX  
h* S"]ye5  
struts.url.includeParams -n _Y.~  
      The default includeParams method to generate Struts URLs LDlYLs F9  
      在url中产生 默认的includeParams rqamBm 5  
Q0xO;20  
]Ur/DRNS  
struts.velocity.configfile [b++bCH3  
      The Velocity configuration file path |qNe_)  
      velocity配置文件路径 S#/BWNz|  
8}'iEj^e  
struts.velocity.contexts ';I}6N  
      List of Velocity context names \ "O5li3n  
      velocity的context列表 )CFJ Xc:  
>XgoN\w  
P6gkbtg  
struts.velocity.manager.classname .(@=L1C<}J  
      org.apache.struts2.views.velocity.VelocityManager implementation class t#NPbLZ  
      org.apache.struts2.views.velocity.VelocityManager接口名 FZ- Wgh 0z  
=6sP`:  
struts.velocity.toolboxlocation 7[m+r:y  
      The location of the Velocity toolbox 0+>g/ >  
      velocity工具盒的位置 `d_T3^ayu  
struts.xslt.nocache T)! }Wvv  
      Whether or not XSLT templates should not be cached dSGdK $XA  
      是否XSLT模版应该被缓存 ]\39#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八