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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?8GggJC  
Oe["4C  
struts.action.extension %7y8a`}  
      The URL extension to use to determine if the request is meant for a Struts action zG. \xmp  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vk&6L%_~a  
^I CSs]}1  
struts.configuration +'VSD`BR  
      The org.apache.struts2.config.Configuration implementation class Ey#7L M)  
        org.apache.struts2.config.Configuration接口名 !\ 6<kQg#  
%A^V@0K3  
struts.configuration.files 15X.gx  
      A list of configuration files automatically loaded by Struts NlG~{rfI  
      struts自动加载的一个配置文件列表 ~]_U!r[FA  
Ump$N#  
struts.configuration.xml.reload gZHuyp(B  
      Whether to reload the XML configuration or not 7a_tT;f;  
      是否加载xml配置(true,false) j LS<S_`  
S 4hv7.A  
struts.continuations.package !5}u\  
      The package containing actions that use Rife continuations P\lEfsuR  
      含有actions的完整连续的package名称 T{:~v+I=  
$"P[nNW3  
struts.custom.i18n.resources DQ*T2*L  
      Location of additional localization properties files to load nUy.gAb  
      加载附加的国际化属性文件(不包含.properties后缀) kR,ry:J-  
8%ea(|Wjg  
struts.custom.properties (& UQ^  
      Location of additional configuration properties files to load F!_8?=|  
      加载附加的配置文件的位置 ``?79MJ5  
Nm7YH@x*o  
`i:DmIoz  
struts.devMode @?vC4+'  
      Whether Struts is in development mode or not PptVneujI  
      是否为struts开发模式 R9z:K_d,  
6Lb(oY}\3  
struts.dispatcher.parametersWorkaround ?XIB\7}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2Pm[ kD4E=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )4MM>Q  
*t%Z'IA  
struts.enable.DynamicMethodInvocation [`4  
      Allows one to disable dynamic method invocation from the URL iLC.?v2=  
        允许动态方法调用 8=  kwc   
?l9j]  
struts.freemarker.manager.classname -Is;cbfLj/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~~\C.6c#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \5iMr[s  
|ns B'Q  
struts.i18n.encoding $-MVsa9>I  
      The encoding to use for localization messages BICG@  
      国际化信息内码 .mbqsb]&Y  
~jR4%VF  
struts.i18n.reload qipV'T,S  
      Whether the localization messages should automatically be reloaded K2> CR$L  
      是否国际化信息自动加载 { )-8P  
!sG# 3sUe[  
struts.locale g2;lEW  
      The default locale for the Struts application ;p+[R+ )  
      默认的国际化地区信息 #PkZi(k hv  
&"r /&7:  
struts.mapper.class >I@VHl O  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ? Xl;>}zj  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 gHo sPY[  
X`6"^ xme  
struts.multipart.maxSize 48IrC_0j  
      The maximize size of a multipart request (file upload) 64i*_\UKe  
      multipart请求信息的最大尺寸(文件上传用) g7" 2}|qxo  
nZ'-3  
struts.multipart.parser ?XbM  
      The org.apache.struts2.dispatcher.multipart. =%ok:+D]  
      MultiPartRequest parser implementation for a multipart request (file upload) {sfA$ d0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vh#81}@N7*  
4iI4+  
:pfLa2f+  
struts.multipart.saveDir SF=TG84<  
      The directory to use for storing uploaded files $niG)@*  
      设置存储上传文件的目录夹 Kr5(fU  
V,h}l"  
struts.objectFactory (^NYC$ZxM=  
      The com.opensymphony.xwork2.ObjectFactory implementation class SK*z4p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Fq$r>tmV  
GEK7q<  
struts.objectFactory.spring.autoWire rJ)j./c  
      Whether Spring should autoWire or not W#P`Y< u$  
      是否自动绑定Spring @-ml=S7;Sz  
@ry/zG#  
struts.objectFactory.spring.useClassCache KdBpfPny@  
      Whether Spring should use its class cache or not >qz#&  
      是否spring应该使用自身的cache Q+oV? S3{  
3=Q:{  
struts.objectTypeDeterminer =%B5TBG  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6_s(Kx>j  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Z)}UCi+/".  
zM,r0Z  
struts.serve.static.browserCache C-@[=  
If static content served by the Struts filter should set browser caching header properties or not .VCF[AleS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .P <3+  
byFO^pce  
struts.serve.static  l*?_@  
      Whether the Struts filter should serve static content or not Z]e`bfNnI  
      是否struts过滤器应该提供静态内容 lSg[7lt  
FUarI5#fwF  
struts.tag.altSyntax B[I9<4}  
      Whether to use the alterative syntax for the tags or not =EYWiK77a  
      是否可以用替代的语法替代tags z2>LjM) #  
[!De|,u(^  
struts.ui.templateDir 57~y 7/0  
      The directory containing UI templates Ptc+ypTu  
      UI templates的目录夹 D4b-Y[/"  
VV{>Kq+&,v  
struts.ui.theme aeISb83Y|  
      The default UI template theme /5<=m:  
      默认的UI template主题 8t3m$<7  
<.mH-Y5i  
struts.url.http.port 9Ta0Li  
      The HTTP port used by Struts URLs Sbl=U  
      设置http端口 n)~*BpL3  
u0GHcpOm  
struts.url.https.port `BQv;NtP  
      The HTTPS port used by Struts URLs Z\$M)e8n  
      设置https端口 u&w})`+u5  
"M, 1ElQ  
struts.url.includeParams $~S~pvT  
      The default includeParams method to generate Struts URLs .faf!3d  
      在url中产生 默认的includeParams Y hQ)M5  
ruQt0q,W3%  
pCDN9*0/  
struts.velocity.configfile  vTgx7gP  
      The Velocity configuration file path x_ /}R3d  
      velocity配置文件路径 n1JtY75#,/  
tYXE$ i  
struts.velocity.contexts {l)$9!  
      List of Velocity context names EJ>&\Iq  
      velocity的context列表 qVKdc*R-  
WR3,woo  
`sCn4-$8  
struts.velocity.manager.classname |mP};&b  
      org.apache.struts2.views.velocity.VelocityManager implementation class @AF<Xp{  
      org.apache.struts2.views.velocity.VelocityManager接口名 V^,eW!  
gfs;?vP  
struts.velocity.toolboxlocation \"1>NJn&k)  
      The location of the Velocity toolbox Z6rhInIY  
      velocity工具盒的位置 MoE&)~0u&  
struts.xslt.nocache (c>g7d<>n  
      Whether or not XSLT templates should not be cached W&=OtN U!  
      是否XSLT模版应该被缓存 UrHndnqM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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