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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 # ^oF^!  
8NzXe 7  
struts.action.extension 4Z<  
      The URL extension to use to determine if the request is meant for a Struts action /C)FS?=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X mX .)h'Y  
$y&1.caMa  
struts.configuration PFnq:G^L  
      The org.apache.struts2.config.Configuration implementation class qQ "O;_  
        org.apache.struts2.config.Configuration接口名 Ai lfeHG  
N: Zf4  
struts.configuration.files gR:21*&cz  
      A list of configuration files automatically loaded by Struts |Zrkk>GW:  
      struts自动加载的一个配置文件列表 R~&i8n.  
d8Kxtg Y  
struts.configuration.xml.reload =C.WM*='  
      Whether to reload the XML configuration or not @ag*zl  
      是否加载xml配置(true,false) jIs2R3B  
y?s8UEC  
struts.continuations.package bP,_H  
      The package containing actions that use Rife continuations %!e;sL~&  
      含有actions的完整连续的package名称 $1$T2'C~+  
;BMm47<  
struts.custom.i18n.resources rCa2$#Z  
      Location of additional localization properties files to load z7P] g C$\  
      加载附加的国际化属性文件(不包含.properties后缀) !%{s[eO\  
^U4|TR6mub  
struts.custom.properties Z6vm!#\  
      Location of additional configuration properties files to load h8lI# Gs  
      加载附加的配置文件的位置 pe1_E KU  
rv?d3QqIC  
~NtAr1  
struts.devMode v lsS  
      Whether Struts is in development mode or not 8^Ov.$rP  
      是否为struts开发模式 j,/t<@S>  
L7lRh=D  
struts.dispatcher.parametersWorkaround E[RLBO[*n  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T>;Kq;(9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M:Aik&  
JKsdPW<?  
struts.enable.DynamicMethodInvocation d4#Ra%   
      Allows one to disable dynamic method invocation from the URL +2+wNFU  
        允许动态方法调用 .4NQ2k1io  
rX<gcntv  
struts.freemarker.manager.classname .5~W3v <  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z/ypWoV(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @.fyOyOC  
XiB]I5(hcc  
struts.i18n.encoding g$f ;  
      The encoding to use for localization messages CxOBH89(  
      国际化信息内码 HBFuA.",  
=_L  
struts.i18n.reload _~ipO1*  
      Whether the localization messages should automatically be reloaded U@$=0*  
      是否国际化信息自动加载 mrfc.{`[  
>%D=#}8l@  
struts.locale _Vq7Gxy$R  
      The default locale for the Struts application > WW5A py[  
      默认的国际化地区信息 UUt631  
p3NTI/-  
struts.mapper.class S-Y(Vn4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `(9B(&t^,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /B?hM&@z  
6v9{ $:  
struts.multipart.maxSize $Di2B A4Di  
      The maximize size of a multipart request (file upload) +RO=a_AS  
      multipart请求信息的最大尺寸(文件上传用) [,|Z<  
6GD Uo}.  
struts.multipart.parser S0ct;CS  
      The org.apache.struts2.dispatcher.multipart. Y{8L ~U:  
      MultiPartRequest parser implementation for a multipart request (file upload) %T&#JF+;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) YTco;5/  
^<e"OV  
ZREAEGi{  
struts.multipart.saveDir H5N(MihT  
      The directory to use for storing uploaded files JqdNO:8  
      设置存储上传文件的目录夹 n>dM OQb  
"p\XaClpz  
struts.objectFactory IrRn@15,  
      The com.opensymphony.xwork2.ObjectFactory implementation class adJoT-8P6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) LQMVC^ G  
W`PK9juu  
struts.objectFactory.spring.autoWire W&>+~A  
      Whether Spring should autoWire or not S"=o U}'|  
      是否自动绑定Spring e XU;UO^  
DT=!  
struts.objectFactory.spring.useClassCache `f:5w^A  
      Whether Spring should use its class cache or not a`w)awb  
      是否spring应该使用自身的cache a91Q*X%  
/rNY;qXM  
struts.objectTypeDeterminer !HXdUAKu  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class QsmG(1=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 L#e|t0'#  
BX),U  
struts.serve.static.browserCache K6 ,5C0  
If static content served by the Struts filter should set browser caching header properties or not Mdh(Mp(w  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7#,+Q(2  
(WW,]#^  
struts.serve.static a<V=C  
      Whether the Struts filter should serve static content or not S)"5X)mq  
      是否struts过滤器应该提供静态内容 |7zm!^t$  
Oh:SH|=]#  
struts.tag.altSyntax F|V co]"S1  
      Whether to use the alterative syntax for the tags or not MjI}fs<   
      是否可以用替代的语法替代tags 55oLj.l^j  
KG#|Cq  
struts.ui.templateDir iR#jBqXD  
      The directory containing UI templates O'."ca]:5  
      UI templates的目录夹 <MN+2^ed&  
e<^tY0rR&  
struts.ui.theme 0nAeeVz|  
      The default UI template theme Iw"?%k\U  
      默认的UI template主题 }}qR~.[  
ji( S ?^  
struts.url.http.port D0QXvrf  
      The HTTP port used by Struts URLs .)Se-'  
      设置http端口 r _r$nl  
q9Y0Lk  
struts.url.https.port U hCd,  
      The HTTPS port used by Struts URLs (6\A"jey\x  
      设置https端口 ,ASY &J5)7  
=]E1T8|  
struts.url.includeParams cQPH le2  
      The default includeParams method to generate Struts URLs T6H"ER$  
      在url中产生 默认的includeParams ,)L.^<  
&TbnZnv  
!wrl.A/P  
struts.velocity.configfile &F#X0h/m=  
      The Velocity configuration file path bi^LpyEn  
      velocity配置文件路径 I{cn ,,8  
ecf7g)+C  
struts.velocity.contexts *OF7 {^~&  
      List of Velocity context names 4r(rWlM  
      velocity的context列表 ]Ly)%a32  
^:-%tpB#!  
Gz*U?R-T  
struts.velocity.manager.classname oS_p/$F,  
      org.apache.struts2.views.velocity.VelocityManager implementation class kd \G>  
      org.apache.struts2.views.velocity.VelocityManager接口名 /gFyow1W  
6}ax~wYct  
struts.velocity.toolboxlocation uR"]w7=  
      The location of the Velocity toolbox 0l_-   
      velocity工具盒的位置 `bC_J,>_  
struts.xslt.nocache k5xirB_  
      Whether or not XSLT templates should not be cached A)7'\JK7b  
      是否XSLT模版应该被缓存 dbZPt~S'$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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