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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?HV`| Cw  
`zE}1M%y  
struts.action.extension %LZ({\5K#f  
      The URL extension to use to determine if the request is meant for a Struts action a\:VREKj,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kJ-*fe'S  
8krpowVs~  
struts.configuration cPU/t kc  
      The org.apache.struts2.config.Configuration implementation class rn=m\Gv e  
        org.apache.struts2.config.Configuration接口名 'qF#<1&  
`A,g] 1C:  
struts.configuration.files A%{W{UP8N  
      A list of configuration files automatically loaded by Struts LJ(1RK GCz  
      struts自动加载的一个配置文件列表 A^2Uzmzl?  
mK [0L  
struts.configuration.xml.reload 0#YX=vjX7  
      Whether to reload the XML configuration or not $LLA,?;!  
      是否加载xml配置(true,false) hwI Mn33  
j~e;DO  
struts.continuations.package OKvPL=~  
      The package containing actions that use Rife continuations S:x?6IDPC^  
      含有actions的完整连续的package名称 f}@jFhr'<  
)h8\u_U  
struts.custom.i18n.resources QtJg ^2@  
      Location of additional localization properties files to load *s>BG1$<  
      加载附加的国际化属性文件(不包含.properties后缀) 't9hXzAfW  
Myq5b`z  
struts.custom.properties o,!T2&}  
      Location of additional configuration properties files to load eU N"w,@y  
      加载附加的配置文件的位置 acw4B5]  
3,Q^& 1  
#zR bx  
struts.devMode sqS=qC  
      Whether Struts is in development mode or not XxaGp95so  
      是否为struts开发模式 ~35U]s@v  
/2HN>{F^Y  
struts.dispatcher.parametersWorkaround Cc, `}SP  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7zv1 wb  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]+m/;&0  
m/@<c'i  
struts.enable.DynamicMethodInvocation j $TwL;  
      Allows one to disable dynamic method invocation from the URL ]d]JXt?)i  
        允许动态方法调用 UEzb^(8>  
vUnRi=:|  
struts.freemarker.manager.classname !QT'L,_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PT5AA8F  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 G_dsrpI=N  
wprX!)w<i  
struts.i18n.encoding ]Bm>-*@0N  
      The encoding to use for localization messages !xKJE:4/,m  
      国际化信息内码 fVM`-8ZTq  
C^z\([k0er  
struts.i18n.reload 4j!]:ra  
      Whether the localization messages should automatically be reloaded a!mf;m  
      是否国际化信息自动加载 A;O~#Chvd  
1<<kA:d  
struts.locale 7]%Ypv$  
      The default locale for the Struts application %c1#lEC2xN  
      默认的国际化地区信息 S#-tOj U*  
F5 ]C{  
struts.mapper.class wfP5@!I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "sKa`WN}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 u^j {U}  
bLnrbid  
struts.multipart.maxSize ;kJu$U  
      The maximize size of a multipart request (file upload) 2Gs$?}"a  
      multipart请求信息的最大尺寸(文件上传用) .?>5-od2  
snt(IJQ  
struts.multipart.parser Bs M uQ|!  
      The org.apache.struts2.dispatcher.multipart. NcAp_q? 4  
      MultiPartRequest parser implementation for a multipart request (file upload) wCHR7X0*b  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pW]4bx@E  
tWdhDt8$&  
Fbp{,V@F2  
struts.multipart.saveDir 07/L}b`P  
      The directory to use for storing uploaded files >2?aZ`r+  
      设置存储上传文件的目录夹 ZK'-U,Y.H7  
0iZGPe~  
struts.objectFactory ~kCwJ<E  
      The com.opensymphony.xwork2.ObjectFactory implementation class & ``d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4W#E`9 6u  
D)brPMS:o  
struts.objectFactory.spring.autoWire m"9XT)N  
      Whether Spring should autoWire or not 5eA8niq#  
      是否自动绑定Spring u<n`x6gL  
:EtMH(  
struts.objectFactory.spring.useClassCache '>v^6i S  
      Whether Spring should use its class cache or not =U. b% uC  
      是否spring应该使用自身的cache D5an\gE  
X{g%kf,D=  
struts.objectTypeDeterminer 2F8|I7R  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ((rv]f{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =]>NDWqpHN  
'?Jxt:<  
struts.serve.static.browserCache e\b`n}nC  
If static content served by the Struts filter should set browser caching header properties or not PjIeZ&p  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =q"eU=9  
3},Zlu  
struts.serve.static dtAbc7  
      Whether the Struts filter should serve static content or not #2:a[ ~Lf  
      是否struts过滤器应该提供静态内容 %Z8vdU#l  
M]-VHI[&W  
struts.tag.altSyntax K{l5m{:%  
      Whether to use the alterative syntax for the tags or not  j4R 4H;  
      是否可以用替代的语法替代tags L}j0a>=x4  
{NCF6M k  
struts.ui.templateDir s(_+!d6  
      The directory containing UI templates cW``M.d'F  
      UI templates的目录夹 c[ht`!P  
3g~^LZ66  
struts.ui.theme $iM=4 3W  
      The default UI template theme QI_59f>  
      默认的UI template主题 ]/T -t1D  
XW L^  
struts.url.http.port &)pK%SAM  
      The HTTP port used by Struts URLs fB+b}aoV  
      设置http端口 ap}5ElMR  
YGsS4ia*4i  
struts.url.https.port m/`IGT5J  
      The HTTPS port used by Struts URLs fRm}S>Nibb  
      设置https端口 5v^L9!`@%v  
qXXGF_Q  
struts.url.includeParams zEw >SP1,  
      The default includeParams method to generate Struts URLs A7P`lJgv  
      在url中产生 默认的includeParams {5%/T,  
+^6}   
oY`qInM_  
struts.velocity.configfile CT d|`  
      The Velocity configuration file path jLcHY-P0V  
      velocity配置文件路径 %TrF0{NR90  
$gMCR b,  
struts.velocity.contexts %So] 3;'  
      List of Velocity context names XV'fW~j\  
      velocity的context列表 yW.COWL=)  
L<(VG{)Z  
 l>v{  
struts.velocity.manager.classname J Lb6C 52  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3hq1yyec  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ewo*yY>  
(3*UPZv  
struts.velocity.toolboxlocation +ySY>`1k~  
      The location of the Velocity toolbox yoqa@V  
      velocity工具盒的位置 ODf4+& u  
struts.xslt.nocache 0p fnV%  
      Whether or not XSLT templates should not be cached cbKL$|  
      是否XSLT模版应该被缓存 !ax;5@J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八