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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ByJPSuc D  
ktx| c19  
struts.action.extension D_0Vu/v  
      The URL extension to use to determine if the request is meant for a Struts action /OzoeI t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =3w;<1 ?'  
9 %4:eTcp  
struts.configuration  ;tZQ9#S  
      The org.apache.struts2.config.Configuration implementation class ^PezV5(  
        org.apache.struts2.config.Configuration接口名 PC<_1!M]  
@r/~Y]0Ye5  
struts.configuration.files qJrKt=CE  
      A list of configuration files automatically loaded by Struts dp'[I:X  
      struts自动加载的一个配置文件列表 ceJi|`F  
?X6}+  
struts.configuration.xml.reload ]4en |Aq  
      Whether to reload the XML configuration or not 4,c6VCw3+  
      是否加载xml配置(true,false) Z%B6J>;uM  
X(*O$B{ R  
struts.continuations.package YnU)f@b#  
      The package containing actions that use Rife continuations T!KwRxJ23  
      含有actions的完整连续的package名称 S* O. ?  
9tPRQ M7  
struts.custom.i18n.resources !Vw1w1  
      Location of additional localization properties files to load z_fjmqa?  
      加载附加的国际化属性文件(不包含.properties后缀) -HQbvXAS  
{D Q%fneN4  
struts.custom.properties 8mKp PwG0  
      Location of additional configuration properties files to load %}VH5s9\  
      加载附加的配置文件的位置 D4[t^G;J  
{ptHk<K:)  
}0Ns&6)xG  
struts.devMode aYb97}kI  
      Whether Struts is in development mode or not DJ:'<"zH7  
      是否为struts开发模式 qz>R"pj0g  
GgG #]a!_f  
struts.dispatcher.parametersWorkaround pcwYgq#5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t'Wv? ,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +lqGf  
pOo016afmA  
struts.enable.DynamicMethodInvocation q -8G  
      Allows one to disable dynamic method invocation from the URL *??lwvJp  
        允许动态方法调用 C\GP}:[T3  
5P-t{<]tx  
struts.freemarker.manager.classname ([dd)QU  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nwUz}em?O  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Bso#+v5  
A,cXN1V  
struts.i18n.encoding qGV_oa74  
      The encoding to use for localization messages K8_v5  
      国际化信息内码 HT.*r6Y>g  
yQ N{)rv  
struts.i18n.reload 7}UG&t{  
      Whether the localization messages should automatically be reloaded 6_bL<:xtY  
      是否国际化信息自动加载 =zcvR {Dkp  
CC`_e^~y=F  
struts.locale R; c9)>8L  
      The default locale for the Struts application kygw}|, N  
      默认的国际化地区信息 PU/<7P*  
96(Mu% l  
struts.mapper.class 6^ [ 4.D  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L!If~6oD(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ZhA_d#qH  
sjg`4^!wDD  
struts.multipart.maxSize Q7$o&N{  
      The maximize size of a multipart request (file upload) "a8E0b  
      multipart请求信息的最大尺寸(文件上传用) .PUp3X-  
zTw"5N  
struts.multipart.parser _y^r==  
      The org.apache.struts2.dispatcher.multipart. p/HDG ^T:u  
      MultiPartRequest parser implementation for a multipart request (file upload) 2H)4}5H  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7PX`kI  
, ,{UGe 3  
73D< wMgZF  
struts.multipart.saveDir 6`e7|ilh6  
      The directory to use for storing uploaded files Z)#UCoK!c  
      设置存储上传文件的目录夹 WQ.0}n}d  
1*TbgxS~W  
struts.objectFactory WK>|IgK  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^Fco'nlM  
      com.opensymphony.xwork2.ObjectFactory接口(spring) nTEN&8Y>R  
Gs,:$Im  
struts.objectFactory.spring.autoWire -V|"T+U  
      Whether Spring should autoWire or not %'=*utOxy  
      是否自动绑定Spring 0 Uropam  
o3fc-  
struts.objectFactory.spring.useClassCache "s(~k  
      Whether Spring should use its class cache or not 00QJ596  
      是否spring应该使用自身的cache KkA)p/  
lb-1z]YwQ  
struts.objectTypeDeterminer }oRBQP^&K  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4VwF \  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &vp KBR ^  
TmQIpeych  
struts.serve.static.browserCache MIrx,d  
If static content served by the Struts filter should set browser caching header properties or not rGyAzL]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 fORkH^Y(&  
{_O!mI*  
struts.serve.static o eU i  
      Whether the Struts filter should serve static content or not go uU  
      是否struts过滤器应该提供静态内容 8Y?M:^f~  
>1Z"5F7=  
struts.tag.altSyntax ' rcqy1-&  
      Whether to use the alterative syntax for the tags or not (j&:  
      是否可以用替代的语法替代tags \!-BR0+y;  
"+F'WCJ-(*  
struts.ui.templateDir y>P+"Z.K%}  
      The directory containing UI templates [>O!~  
      UI templates的目录夹 CJ :V%|  
!qt2,V  
struts.ui.theme Pb#M7=J/  
      The default UI template theme mH'~pR>t  
      默认的UI template主题  8b2 =n  
}X&rJV  
struts.url.http.port 6Yj{% G  
      The HTTP port used by Struts URLs uZ!YGv0^  
      设置http端口 Gmz^vpQ]t  
0@ Y#P|QF  
struts.url.https.port AG N/kx  
      The HTTPS port used by Struts URLs i+*!" /De  
      设置https端口 +3)r szb72  
'r?ULft1  
struts.url.includeParams ~zqb{o^pT  
      The default includeParams method to generate Struts URLs ?l0eU@rwQ  
      在url中产生 默认的includeParams E7:xPNU  
=:- fK-d  
@Jzk2,rI  
struts.velocity.configfile K3yQ0k |  
      The Velocity configuration file path !GqFX+!Ju  
      velocity配置文件路径 ,@`?I6nKy  
HEF e?  
struts.velocity.contexts g'(bk@<BP  
      List of Velocity context names fE-R(9K  
      velocity的context列表 6_Fr\H  
P8tdT3*6/  
: uncOd.  
struts.velocity.manager.classname ,QY$:f<  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,&P 4%N"  
      org.apache.struts2.views.velocity.VelocityManager接口名 VfX^iG r  
g4IF~\QRVi  
struts.velocity.toolboxlocation lB,1dw2(T  
      The location of the Velocity toolbox e8F]m`{_"  
      velocity工具盒的位置 Y2u\~.;oq  
struts.xslt.nocache CL=%eSsuD  
      Whether or not XSLT templates should not be cached bn(N8MFCV  
      是否XSLT模版应该被缓存 [n2B6Px  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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