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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 VR (R.  
m CO1,?  
struts.action.extension ny-:%A  
      The URL extension to use to determine if the request is meant for a Struts action t:10  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "L3mW=!*  
(?e%w}  
struts.configuration Ph3;;,v '  
      The org.apache.struts2.config.Configuration implementation class 53t_#Yte  
        org.apache.struts2.config.Configuration接口名 Dg&6@c|  
x^1udK^re  
struts.configuration.files MblRdj6  
      A list of configuration files automatically loaded by Struts bZxN]6_  
      struts自动加载的一个配置文件列表 o[>d"Kp  
>oW]3)$4S  
struts.configuration.xml.reload v,<14w  
      Whether to reload the XML configuration or not R"W}\0k  
      是否加载xml配置(true,false) Lt*P&  
r!R-3LO0s  
struts.continuations.package REW[`MBQ  
      The package containing actions that use Rife continuations  2U)n^  
      含有actions的完整连续的package名称 ;,bgJgK  
oC5 h-4~  
struts.custom.i18n.resources @7 Ry{,A  
      Location of additional localization properties files to load _a$qsY  
      加载附加的国际化属性文件(不包含.properties后缀) ^xe+(83S2?  
wI@87&  
struts.custom.properties @R&d<^I&M  
      Location of additional configuration properties files to load 'AA9F$Dz  
      加载附加的配置文件的位置 Gxw1P@<F:  
=RB {.%  
n&[CTOV  
struts.devMode NO!Qo:  
      Whether Struts is in development mode or not 5cP yi/  
      是否为struts开发模式 y[m,t}gi  
` aVp#  
struts.dispatcher.parametersWorkaround  [ <X%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic A.>mk598  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) cx[^D,usf~  
[ U:C62oK,  
struts.enable.DynamicMethodInvocation JL6$7h  
      Allows one to disable dynamic method invocation from the URL J*;RL`  
        允许动态方法调用 nH#>_R (  
]PS`"o,pF$  
struts.freemarker.manager.classname 9@|52dz%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5%jhVys23  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .!3e$mhV  
zsp%Cz7T  
struts.i18n.encoding %7ngAIg  
      The encoding to use for localization messages A-!e$yz>  
      国际化信息内码 {s8c@-'  
>pF*unC;  
struts.i18n.reload zj7ta[<tr  
      Whether the localization messages should automatically be reloaded ~nA k-toJ  
      是否国际化信息自动加载 x3y+=aj  
Tz1^"tx9  
struts.locale >V6t L;+  
      The default locale for the Struts application }Ulxt:}   
      默认的国际化地区信息 _[HZ[9c!  
p}^G#h{  
struts.mapper.class D, ")n75  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^8 VW$}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 KW:N 6w  
X.b8qbnq[  
struts.multipart.maxSize Ll]5u~  
      The maximize size of a multipart request (file upload) CXq[VYM&X  
      multipart请求信息的最大尺寸(文件上传用) 4\n ~  
>ai,6!  
struts.multipart.parser ]y@A=nR  
      The org.apache.struts2.dispatcher.multipart. Da-Lf2qT9  
      MultiPartRequest parser implementation for a multipart request (file upload) d"XZlEV  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) t'U=K>7  
eIvZhi  
;FqmZjm  
struts.multipart.saveDir +[G9PP6  
      The directory to use for storing uploaded files qHk{5O3  
      设置存储上传文件的目录夹 zM0}(5$m  
sT?{  
struts.objectFactory W\l&wR  
      The com.opensymphony.xwork2.ObjectFactory implementation class <{#_;7h"  
      com.opensymphony.xwork2.ObjectFactory接口(spring) F{x+1hct0  
sa'1hX^@  
struts.objectFactory.spring.autoWire ?oYO !  
      Whether Spring should autoWire or not IAO5li3  
      是否自动绑定Spring Wk[a|>  
BgXZr,?  
struts.objectFactory.spring.useClassCache cC-8.2  
      Whether Spring should use its class cache or not AlQhKL}|s  
      是否spring应该使用自身的cache Kn^+kHh:  
W1REF9i){  
struts.objectTypeDeterminer U<'N=#A J  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {T8;-H0H  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 SW9 C 8Q  
S70#_{  
struts.serve.static.browserCache [QnN1k  
If static content served by the Struts filter should set browser caching header properties or not AqgY*"A7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >/n];fl>8  
8"&!3_  
struts.serve.static d27q,2f!  
      Whether the Struts filter should serve static content or not !FgZI4?/Y=  
      是否struts过滤器应该提供静态内容 72;'8  
%RD\Sb4YV  
struts.tag.altSyntax MG=E 6:  
      Whether to use the alterative syntax for the tags or not w'TAM"D`  
      是否可以用替代的语法替代tags :|bL2T@>[  
vm@V5oH  
struts.ui.templateDir YYT;a$GTo  
      The directory containing UI templates M86"J:\u]  
      UI templates的目录夹 i%o%bib#  
rn-bfzoDS  
struts.ui.theme NO~G4PUM0C  
      The default UI template theme p4P=T@:  
      默认的UI template主题 X,49(-~\  
7n5gXiI"  
struts.url.http.port 9G[ DuYJI  
      The HTTP port used by Struts URLs PSJj$bt;<+  
      设置http端口 &@6xu{o  
Ll KO(Q{"  
struts.url.https.port <N)!s&D  
      The HTTPS port used by Struts URLs  vm! y2  
      设置https端口 JRB6T_U  
M@T{uo  
struts.url.includeParams v-#,@&Uwq  
      The default includeParams method to generate Struts URLs qxI $F  
      在url中产生 默认的includeParams ?-j/X6(\(  
3S3 a|_+%  
+<Gp >c  
struts.velocity.configfile ^0zfQu+!  
      The Velocity configuration file path 5'set?  
      velocity配置文件路径 6_%Cd`4Z  
cq[9#@ 4=  
struts.velocity.contexts +mrLMbBiD  
      List of Velocity context names J|I*n   
      velocity的context列表 Ovx *  
neU=1socJ  
p<r^{y  
struts.velocity.manager.classname ^t3>Z|DiB^  
      org.apache.struts2.views.velocity.VelocityManager implementation class '@Uu/~;h  
      org.apache.struts2.views.velocity.VelocityManager接口名 Q>$B.z  
OkC.e')Vx  
struts.velocity.toolboxlocation vhF9|('G  
      The location of the Velocity toolbox fnX[R2KZ  
      velocity工具盒的位置 fd4gB6>  
struts.xslt.nocache B :%Vq2`  
      Whether or not XSLT templates should not be cached k' 8q /]  
      是否XSLT模版应该被缓存 SA'g`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八