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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #tHYCSr]  
cq?,v?m  
struts.action.extension ~D}fy  
      The URL extension to use to determine if the request is meant for a Struts action CQ.C{  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,.( :b82$  
k6z ]-XG  
struts.configuration dF 6od  
      The org.apache.struts2.config.Configuration implementation class BNE:,I*&  
        org.apache.struts2.config.Configuration接口名 klAlS%  
kG5+kwV=:  
struts.configuration.files $rk=#;6]v;  
      A list of configuration files automatically loaded by Struts C.#Ha-@uz  
      struts自动加载的一个配置文件列表 W&cs&>F#  
z7XI`MZN^  
struts.configuration.xml.reload Wd!Z`,R  
      Whether to reload the XML configuration or not 6(7{|iY  
      是否加载xml配置(true,false) &L?]w=*  
J5jI/P  
struts.continuations.package (D?4*9 =  
      The package containing actions that use Rife continuations > O?<?  
      含有actions的完整连续的package名称 eQ)*jeD  
vv2[t  
struts.custom.i18n.resources 4@\$k+v  
      Location of additional localization properties files to load r ^*D8  
      加载附加的国际化属性文件(不包含.properties后缀) { g[kn^|  
A#?Cts ,M  
struts.custom.properties f,6V#,  
      Location of additional configuration properties files to load 2i #Ekon  
      加载附加的配置文件的位置 $Lbamg->E  
C :sgT6  
w{_g"X  
struts.devMode 'lpCwH  
      Whether Struts is in development mode or not j~.tyxOq#  
      是否为struts开发模式 -&1P2m/46  
p>J@"?%^  
struts.dispatcher.parametersWorkaround p`\>GWuT!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic di+ |` O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pN9U1!|uam  
ep},~tPZn  
struts.enable.DynamicMethodInvocation ^+d]'$  
      Allows one to disable dynamic method invocation from the URL x<rS2d-Y  
        允许动态方法调用 Crj7n/mp]s  
bFL2NH5  
struts.freemarker.manager.classname TUwX4X6m  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *fj]L?,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m##!sF^k~J  
0uM&F[.x@g  
struts.i18n.encoding >iG3!Td)y  
      The encoding to use for localization messages UEx<;P8rP  
      国际化信息内码 C,mfA%63  
j@+$lU*r  
struts.i18n.reload @^ &p$:  
      Whether the localization messages should automatically be reloaded 0:I<TJ~P  
      是否国际化信息自动加载 ! N!pvK;  
@T L|\T  
struts.locale %LmsywPPp  
      The default locale for the Struts application h0dZr-c  
      默认的国际化地区信息 YuIF}mUr"  
.I#_~C'\  
struts.mapper.class o+XQMg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `x>6Wk1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 n`w]?bL  
&\cS{35  
struts.multipart.maxSize uF}B:53A  
      The maximize size of a multipart request (file upload) XHJ` C\xR  
      multipart请求信息的最大尺寸(文件上传用) @VG@|BQWa  
b]xoXC6@t  
struts.multipart.parser YXqYIG.G  
      The org.apache.struts2.dispatcher.multipart. l.g.O>1   
      MultiPartRequest parser implementation for a multipart request (file upload) 1$C?+H  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y4IQa.F  
f2M*]{N  
:IJ<Mmb  
struts.multipart.saveDir eYlI};  
      The directory to use for storing uploaded files -$g~,dIwj  
      设置存储上传文件的目录夹 /|}yf/^9X  
Q}<QE:-&E  
struts.objectFactory gzat!>*  
      The com.opensymphony.xwork2.ObjectFactory implementation class jC}HNiM78  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;;Z'd@  
2&]LZ:(  
struts.objectFactory.spring.autoWire 6`7bk35B  
      Whether Spring should autoWire or not Pn.DeoHme  
      是否自动绑定Spring =v<A&4  
-gt ?5H h  
struts.objectFactory.spring.useClassCache :X-S&S X0  
      Whether Spring should use its class cache or not kFmtE dhsc  
      是否spring应该使用自身的cache ~&MDfpl  
%3t;[$n#  
struts.objectTypeDeterminer Q/4ICgo4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5=#d#dDc  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 oUN\tOiS+  
ZADMtsk  
struts.serve.static.browserCache ]' Ho)Q  
If static content served by the Struts filter should set browser caching header properties or not ZPb30M0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 | V{ Q  
C%]qK(9vvd  
struts.serve.static M1#CB  
      Whether the Struts filter should serve static content or not [ @"6:tTU  
      是否struts过滤器应该提供静态内容 Qyx~={ .C~  
ly6zz|c5  
struts.tag.altSyntax e`7>QS ;.  
      Whether to use the alterative syntax for the tags or not r[;d.3jtP  
      是否可以用替代的语法替代tags TKsP#Dt/  
&Q}%b7  
struts.ui.templateDir ~UO}PI`C  
      The directory containing UI templates );t+~YPS  
      UI templates的目录夹 CX\XaM)l  
|_8l9rB5ip  
struts.ui.theme </xf4.C  
      The default UI template theme Mb\(52`)Q  
      默认的UI template主题 em0Y'J  
/JC1o&z_T  
struts.url.http.port a9{NAyl<oo  
      The HTTP port used by Struts URLs ' F9gp!s8~  
      设置http端口 C|3Xz[k{  
LK}FI* A_  
struts.url.https.port 4\v &8">LL  
      The HTTPS port used by Struts URLs vS0 ii  
      设置https端口 R0tT4V+  
CyYr5 Dz  
struts.url.includeParams #Mk: 4  
      The default includeParams method to generate Struts URLs >8OY6wb  
      在url中产生 默认的includeParams +ls`;f  
. o /uA  
$m*Gu:#xm&  
struts.velocity.configfile =QtFJ9\  
      The Velocity configuration file path kI@<H<  
      velocity配置文件路径 p!uB8F  
R*lq7n9  
struts.velocity.contexts Y.Z:H!P);$  
      List of Velocity context names FE,mUpHIR  
      velocity的context列表 (Y7zaAG]  
AL3iNkEa  
Mkk.8AjC|  
struts.velocity.manager.classname O]@#53)Tz  
      org.apache.struts2.views.velocity.VelocityManager implementation class Is }kCf  
      org.apache.struts2.views.velocity.VelocityManager接口名 `m<O!I"A  
/(5"c>  
struts.velocity.toolboxlocation +D]raU  
      The location of the Velocity toolbox (,QWK08  
      velocity工具盒的位置 BPt? 3tC  
struts.xslt.nocache #*_!Xc9f  
      Whether or not XSLT templates should not be cached -q{N1? tcy  
      是否XSLT模版应该被缓存 lbIPtu  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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