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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @|EWif|  
PM`iqn)@  
struts.action.extension N<^)tR8+  
      The URL extension to use to determine if the request is meant for a Struts action `CY c>n"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?ZP@H _w6}  
KtD XB>  
struts.configuration ,ut7`_Fy  
      The org.apache.struts2.config.Configuration implementation class !24PJ\~I  
        org.apache.struts2.config.Configuration接口名 u{LtyDnik  
U<I]_]  
struts.configuration.files cyBm,!  
      A list of configuration files automatically loaded by Struts /z`.-D(  
      struts自动加载的一个配置文件列表 bi[g4,`Z;  
pMd!Jl#(N  
struts.configuration.xml.reload 6o&ZS @  
      Whether to reload the XML configuration or not mjKu\7F  
      是否加载xml配置(true,false) $ D.*r*c6  
\hI|I!sDWy  
struts.continuations.package *R3^:Y&  
      The package containing actions that use Rife continuations Egmp8:nZl@  
      含有actions的完整连续的package名称 _o? I=UN2:  
'Lh nl3  
struts.custom.i18n.resources HutQx  
      Location of additional localization properties files to load p# JPLCs  
      加载附加的国际化属性文件(不包含.properties后缀) N"s"^}M\  
l'7' G$v  
struts.custom.properties X}g"_wN,g>  
      Location of additional configuration properties files to load IO7cRg'-F  
      加载附加的配置文件的位置 m= rMx]k  
31cZ6[  
XbIxGL  
struts.devMode QL:Qzr[  
      Whether Struts is in development mode or not -J>f,zA  
      是否为struts开发模式 ndu$N$7+  
kgd dq  
struts.dispatcher.parametersWorkaround X@za4d  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f`YHZ O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2=,d.1E3d  
'EC0|IT)c  
struts.enable.DynamicMethodInvocation ssAGWP  
      Allows one to disable dynamic method invocation from the URL 1 dOB|  
        允许动态方法调用 a]!u go}  
vI]V@i l  
struts.freemarker.manager.classname B.L_EIw  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \+"Jg/)ij  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +mN8uU~(kx  
sl`?9-_[  
struts.i18n.encoding `4wy *!]  
      The encoding to use for localization messages 4U3 `g  
      国际化信息内码 3gYtu-1  
J;ycAF~  
struts.i18n.reload J^!wk9q  
      Whether the localization messages should automatically be reloaded >:h&5@^ j$  
      是否国际化信息自动加载 Z/q'^PB p  
B<ZCuVWH:  
struts.locale q#K0EAgC  
      The default locale for the Struts application xeKm} MN]S  
      默认的国际化地区信息 / 2MhP=,  
jOZ>^5}  
struts.mapper.class 5=  V29  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !&5|:96o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y=,9M  
VVfTFi<  
struts.multipart.maxSize u Yc}eMb  
      The maximize size of a multipart request (file upload) GK1P7Qy?V  
      multipart请求信息的最大尺寸(文件上传用) 7Kpv fyL{  
jI~$iDdOfs  
struts.multipart.parser KN&|&51p}  
      The org.apache.struts2.dispatcher.multipart. -s\R2_(  
      MultiPartRequest parser implementation for a multipart request (file upload) N*\r i0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) X9?0`6Li  
&UO/p/a  
X{:3UTBR  
struts.multipart.saveDir ;p87^:  
      The directory to use for storing uploaded files g ;X K3R  
      设置存储上传文件的目录夹 @'y8* _  
At !@Rc  
struts.objectFactory &q M8)2Y  
      The com.opensymphony.xwork2.ObjectFactory implementation class (EH}lh }%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?Ss~!38  
GNSh`Tm=#  
struts.objectFactory.spring.autoWire uo ;m  
      Whether Spring should autoWire or not /FjdcH=  
      是否自动绑定Spring nWh f  
K[x=knFO  
struts.objectFactory.spring.useClassCache . g-  HB'  
      Whether Spring should use its class cache or not )`6OSB  
      是否spring应该使用自身的cache f{u S  
Ul3xeu  
struts.objectTypeDeterminer =5:S"WNj  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class '8FHn~F  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #w8.aNU+]  
h iK}&  
struts.serve.static.browserCache EVE"F'Ww,_  
If static content served by the Struts filter should set browser caching header properties or not [)il_3t  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 KTwP.!<v  
0uIBaW3s  
struts.serve.static Vv+ oq5hf  
      Whether the Struts filter should serve static content or not K3h"oVn  
      是否struts过滤器应该提供静态内容 {,?Gj@$  
@VyNe(U  
struts.tag.altSyntax `wr*@/P  
      Whether to use the alterative syntax for the tags or not 0k4XVd+Nv  
      是否可以用替代的语法替代tags ej1WkaR8  
_;:_ !`  
struts.ui.templateDir x(p/9$.#  
      The directory containing UI templates  vNdW.V}  
      UI templates的目录夹 W|(<z'S  
RD;A  
struts.ui.theme =k;X}/  
      The default UI template theme E`{DX9^  
      默认的UI template主题 {xOzxLB;  
C5jt(!pi  
struts.url.http.port fI'+4 )@x  
      The HTTP port used by Struts URLs 3#GIZ L}!x  
      设置http端口 Wg<o%6`  
%(H' j@D[  
struts.url.https.port <q Q@OUI   
      The HTTPS port used by Struts URLs &JD^\+7U:  
      设置https端口 JbMp /  
25r3[gX9`  
struts.url.includeParams > %slzr  
      The default includeParams method to generate Struts URLs }mI0D >n  
      在url中产生 默认的includeParams Vup|*d2r0E  
zAev@+.ld  
{xTh!ih2 -  
struts.velocity.configfile oq b(w+<  
      The Velocity configuration file path ~PU}==*q  
      velocity配置文件路径 VuN#j<H  
M&sQnPFH  
struts.velocity.contexts 3df5 e0  
      List of Velocity context names %:Y(x$Qy  
      velocity的context列表 J4 U]_|  
@W~aoq6  
QIJ/'72  
struts.velocity.manager.classname dP>FXgY  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?crK613 t  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;lt8~ea  
:"b:uQ  
struts.velocity.toolboxlocation +At0V(  
      The location of the Velocity toolbox g1]bI$;  
      velocity工具盒的位置 $ub0$S/Hu  
struts.xslt.nocache OKk" S_`  
      Whether or not XSLT templates should not be cached !DHfw-1K  
      是否XSLT模版应该被缓存 Uv~|Xj4.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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