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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 & XmaGtt  
fGb}V'x}r  
struts.action.extension md*U  
      The URL extension to use to determine if the request is meant for a Struts action ,VS(4  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )7 q"l3e"u  
FY^2 Y  
struts.configuration k:I,$"y4  
      The org.apache.struts2.config.Configuration implementation class OHi.5 (  
        org.apache.struts2.config.Configuration接口名 +}O -WX?  
#B<EMGH  
struts.configuration.files }[Z'Sg]s  
      A list of configuration files automatically loaded by Struts {;DAKWm@T  
      struts自动加载的一个配置文件列表 gu3iaM$W  
9v_s_QkL2  
struts.configuration.xml.reload ||JUP}eP  
      Whether to reload the XML configuration or not o`QNZN7/}  
      是否加载xml配置(true,false) x(._?5  
E{EO9EI  
struts.continuations.package KJRAW]?{  
      The package containing actions that use Rife continuations +!0K]$VZs  
      含有actions的完整连续的package名称 0S^&A?$=  
*#'j0;2F  
struts.custom.i18n.resources tBbOxMm0  
      Location of additional localization properties files to load T[ZmD{6l  
      加载附加的国际化属性文件(不包含.properties后缀) \?; `_E`j  
ep=r7Mft  
struts.custom.properties wn.~Dx  
      Location of additional configuration properties files to load  ][wb4$2  
      加载附加的配置文件的位置 ]R_R`X?  
rw,Ylr :3  
])wdd>'  
struts.devMode ^#d\HI  
      Whether Struts is in development mode or not AY{KxCr b^  
      是否为struts开发模式 'g!T${  
#h?I oB7  
struts.dispatcher.parametersWorkaround d #1Y^3n  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q]YB.n3   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }:m/@LKB  
IplOXD  
struts.enable.DynamicMethodInvocation *Jgi=,!m  
      Allows one to disable dynamic method invocation from the URL >x{("``D0y  
        允许动态方法调用 )GkJ%o#H2  
T9 /;$6s*  
struts.freemarker.manager.classname f^FFn32u  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7pm'b,J<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m,lZy#02s3  
&]DB-t#\  
struts.i18n.encoding $DoR@2 ~y  
      The encoding to use for localization messages -N8rs[c  
      国际化信息内码 w}gmVJ#p  
`Gqe]ZE#"  
struts.i18n.reload h+}BtKA  
      Whether the localization messages should automatically be reloaded /~Y\KOH|  
      是否国际化信息自动加载 Z^_qXerjP  
!?nbB2,  
struts.locale q#tUDxf(|  
      The default locale for the Struts application 5p (zhfuG  
      默认的国际化地区信息 '{"Rjv7  
C`hdj/!A  
struts.mapper.class j|t=%*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3[ xdls  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 rP:g`?*V  
e0TYHr)X>3  
struts.multipart.maxSize ,WRm{ v0f^  
      The maximize size of a multipart request (file upload) U05;qKgkDF  
      multipart请求信息的最大尺寸(文件上传用) vkIIuNdDlx  
&"^F;z/  
struts.multipart.parser {Rkd;`Q`!  
      The org.apache.struts2.dispatcher.multipart. lS4rpbU_  
      MultiPartRequest parser implementation for a multipart request (file upload) S@/{34,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) WO_Uc_R  
/W/e%.  
eX+36VG\  
struts.multipart.saveDir uzBQK  
      The directory to use for storing uploaded files sp,-JZD  
      设置存储上传文件的目录夹 Zz0bd473k?  
FJ_7<4ET  
struts.objectFactory <y@v v  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9MMCWMV  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Y;/@[AwF  
0 0N[ : %  
struts.objectFactory.spring.autoWire .xN<<+|_v'  
      Whether Spring should autoWire or not AJ\&>6GZ(b  
      是否自动绑定Spring zmo2uUEd  
$-}&RW9  
struts.objectFactory.spring.useClassCache % T({;/  
      Whether Spring should use its class cache or not IrMH AM5K  
      是否spring应该使用自身的cache  >Uw:cq  
+<a\0FsD  
struts.objectTypeDeterminer jE*{^+n  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h} `v0E  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l =E86"m  
'JOUx_@z  
struts.serve.static.browserCache ;7'O=%  
If static content served by the Struts filter should set browser caching header properties or not KqK]R6>  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ymz/:  
YzESV Th  
struts.serve.static p F{jIXu  
      Whether the Struts filter should serve static content or not P8eCaZg?(3  
      是否struts过滤器应该提供静态内容 C[L 5H  
gXxi; g  
struts.tag.altSyntax <Ht"t]u*Bn  
      Whether to use the alterative syntax for the tags or not ?9`j1[0  
      是否可以用替代的语法替代tags YO$Ig:a#  
8!E.3'jb  
struts.ui.templateDir IRN,=  
      The directory containing UI templates 'Aq^z%|  
      UI templates的目录夹 P([!psgu  
], lLD UZ\  
struts.ui.theme C%z)D1-  
      The default UI template theme #`VAw ) eV  
      默认的UI template主题 MTu\T  
Sq5,}oT_{j  
struts.url.http.port '(.5!7?Qc  
      The HTTP port used by Struts URLs h.edb6  
      设置http端口 e9{ii2M  
$ VT)  
struts.url.https.port |'h (S|  
      The HTTPS port used by Struts URLs OG5{oH#K  
      设置https端口 t#^Cem<  
M& ZKc  
struts.url.includeParams tu\XuDk y  
      The default includeParams method to generate Struts URLs #_DpiiS,.Q  
      在url中产生 默认的includeParams wW%b~JX  
c,a8#Og  
y!b2;- Dp  
struts.velocity.configfile I~&*^q6 |  
      The Velocity configuration file path GHsDZ(d3.  
      velocity配置文件路径 s<!A< +Sh  
JWNN5#=fQ  
struts.velocity.contexts 9^a|yyzL  
      List of Velocity context names Jh-yIk  
      velocity的context列表 ~su>RolaX  
}>{R<[I!G  
w){B$X  
struts.velocity.manager.classname hIV9.{J  
      org.apache.struts2.views.velocity.VelocityManager implementation class [U&k"s?  
      org.apache.struts2.views.velocity.VelocityManager接口名 rS [4Pey  
*j3 U+HV  
struts.velocity.toolboxlocation 'gY?=,dF>  
      The location of the Velocity toolbox SY,ns*>1F  
      velocity工具盒的位置 RdX+:!lD  
struts.xslt.nocache tK3$,9+  
      Whether or not XSLT templates should not be cached > "hP  
      是否XSLT模版应该被缓存 \l/(L5gY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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