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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ->;2CcpHB  
t%^&b'/Z  
struts.action.extension $i<+O,@-  
      The URL extension to use to determine if the request is meant for a Struts action {0,6- dd5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B<.\^f uS  
l SKq  
struts.configuration 9L-jlAo<  
      The org.apache.struts2.config.Configuration implementation class \X(*JNQ  
        org.apache.struts2.config.Configuration接口名 T ?A3f]U  
CflyK@  
struts.configuration.files \@h$|nb  
      A list of configuration files automatically loaded by Struts 8"d??3ZXJ  
      struts自动加载的一个配置文件列表 862rol  
/TB{|_HbW  
struts.configuration.xml.reload R64f0N K.  
      Whether to reload the XML configuration or not TT3GGHR  
      是否加载xml配置(true,false) RRQv<x  
M?P\YAn$  
struts.continuations.package O.y ?q  
      The package containing actions that use Rife continuations ^gyI-S(;  
      含有actions的完整连续的package名称 * Z)j"i  
hCgk78O?  
struts.custom.i18n.resources d+]=l+&  
      Location of additional localization properties files to load |${ImP  
      加载附加的国际化属性文件(不包含.properties后缀) hD?6RVfG  
&'Nzw2  
struts.custom.properties }C[ "'tLX  
      Location of additional configuration properties files to load A{)pzV25  
      加载附加的配置文件的位置 Zi\ex\ )5  
%c]N-  
j bT{K|d-  
struts.devMode 2$t%2>1>@  
      Whether Struts is in development mode or not @\oZ2sB  
      是否为struts开发模式 mv,a>Cvs[  
!RwhVaSh  
struts.dispatcher.parametersWorkaround X6t9*|C  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic b-<@3N.9]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a!u5}[{  
L"S2+F)n  
struts.enable.DynamicMethodInvocation PX23M|$!  
      Allows one to disable dynamic method invocation from the URL b-@9Xjv  
        允许动态方法调用 (OwGp3g  
z9 #-  
struts.freemarker.manager.classname Xnh&Kyz`v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Y+$]N:\F\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 sy4Nm0m  
0SIUp/.  
struts.i18n.encoding t"J{qfNs  
      The encoding to use for localization messages h|Qb:zEP,  
      国际化信息内码 +`mI\+y,  
",Mrdxn7  
struts.i18n.reload QKVOc,Fp7i  
      Whether the localization messages should automatically be reloaded F9las#\J  
      是否国际化信息自动加载 jRDvVV/-wr  
7\nXJ381  
struts.locale d, ?GW  
      The default locale for the Struts application }F9#3W&`c  
      默认的国际化地区信息 |tLD^`bt  
Ayn$,  
struts.mapper.class ~h=iZ/g_^_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :1bDkoK  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "j8=%J{  
BjTgZ98J  
struts.multipart.maxSize q j9q   
      The maximize size of a multipart request (file upload)  <|82)hO  
      multipart请求信息的最大尺寸(文件上传用) W|n$H`;R  
9pS:#hg  
struts.multipart.parser YvP62c \  
      The org.apache.struts2.dispatcher.multipart. M ]O4  
      MultiPartRequest parser implementation for a multipart request (file upload) `2x.-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) OpIeo+^X*  
\>n[x; $  
WT1y7+_g(d  
struts.multipart.saveDir C"s-ttP   
      The directory to use for storing uploaded files 4UzXTsjM7  
      设置存储上传文件的目录夹 \\Q){\S  
@B(E&  
struts.objectFactory 7(^F@,,@  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^\J-LU|"B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #mK?:O\-1  
5gC> j(  
struts.objectFactory.spring.autoWire  P7/Xh3  
      Whether Spring should autoWire or not Vw`Q:qo0:b  
      是否自动绑定Spring MOp "kA  
eT(X Ri0  
struts.objectFactory.spring.useClassCache & 2q<#b  
      Whether Spring should use its class cache or not !u  .n  
      是否spring应该使用自身的cache ,7k1n{C)  
87!m l  
struts.objectTypeDeterminer &o1k_!25  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class e#3RT8u#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &k-NDh3  
h9iQn<lp4.  
struts.serve.static.browserCache m@w469&<(q  
If static content served by the Struts filter should set browser caching header properties or not ]\L+]+u~  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BB(v,W  
:h3n[%  
struts.serve.static ({!H ()  
      Whether the Struts filter should serve static content or not b7T;6\[m  
      是否struts过滤器应该提供静态内容 C=cn .CX  
~82 {Y _{/  
struts.tag.altSyntax v '^}zO  
      Whether to use the alterative syntax for the tags or not AP1ZIc6  
      是否可以用替代的语法替代tags ~ L>M-D4o  
y c 8 h}`  
struts.ui.templateDir .c__T {<)[  
      The directory containing UI templates EIyFGCw|U  
      UI templates的目录夹 S{f,EBE  
V d]7v  
struts.ui.theme d&f!\n_~  
      The default UI template theme KT>Y^  
      默认的UI template主题 zpeCT3Q5O  
qfxEo76'  
struts.url.http.port t imY0fx #  
      The HTTP port used by Struts URLs &rPAW V'v  
      设置http端口 tLq]#9kL  
W|uRQA`  
struts.url.https.port 6KXW]a `  
      The HTTPS port used by Struts URLs niW"o-}  
      设置https端口 *,*O.#<6  
^3H:I8gRCl  
struts.url.includeParams M5t.l (  
      The default includeParams method to generate Struts URLs J2! Q09 }5  
      在url中产生 默认的includeParams $N;J)  
y;<suGl  
[C<K~  
struts.velocity.configfile <m VFC  
      The Velocity configuration file path UL>2gl4s/  
      velocity配置文件路径 op9vz[o#4  
,9_O4O%  
struts.velocity.contexts ^~7Mv^A  
      List of Velocity context names T]zD+/=  
      velocity的context列表 lcjOBu  
BT_XqO  
WVOj ;c  
struts.velocity.manager.classname CYwV]lq :s  
      org.apache.struts2.views.velocity.VelocityManager implementation class tY!l}:E[  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]vn*eqd  
$e--"@[Y  
struts.velocity.toolboxlocation M"/Jn[  
      The location of the Velocity toolbox ABkDOG2br  
      velocity工具盒的位置 w\eC{,00:  
struts.xslt.nocache =s]2?m  
      Whether or not XSLT templates should not be cached r Dlu&  
      是否XSLT模版应该被缓存 ,Tegrz&G  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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