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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `&2AN%Xz  
RC5b'+E&#  
struts.action.extension ADoxma@  
      The URL extension to use to determine if the request is meant for a Struts action o,a 3J:j]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 SWujj,-[  
>mzK96  
struts.configuration HhfuHZ<  
      The org.apache.struts2.config.Configuration implementation class wpw~[xd  
        org.apache.struts2.config.Configuration接口名 y>zPsc,  
'+tU8Pb  
struts.configuration.files ,@2d <d]  
      A list of configuration files automatically loaded by Struts ]kC/b^~+m  
      struts自动加载的一个配置文件列表 N~H9|CX  
K9Dxb  
struts.configuration.xml.reload OA#AiQUR  
      Whether to reload the XML configuration or not ?A7&SdJaO  
      是否加载xml配置(true,false) "y@B|  
;5tSXgGw7  
struts.continuations.package M%H<F3  
      The package containing actions that use Rife continuations U#v??Sl  
      含有actions的完整连续的package名称 VIo %((  
PE1F3u>O  
struts.custom.i18n.resources ^` N+mlh  
      Location of additional localization properties files to load gf6<`+/  
      加载附加的国际化属性文件(不包含.properties后缀) j*"V! d  
M/ @1;a@\  
struts.custom.properties pQc5'*FKd  
      Location of additional configuration properties files to load 09y%FzV  
      加载附加的配置文件的位置 :Mr_/t2(  
mx  s=<  
A$G>D3  
struts.devMode +o)o4l%3  
      Whether Struts is in development mode or not DZGM4|@<7Y  
      是否为struts开发模式 .L'>1H]B  
OgjSyzc  
struts.dispatcher.parametersWorkaround (Nd5VuI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fw@n[u{~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @K`2y'#b  
M{$EJS\d=  
struts.enable.DynamicMethodInvocation U1<EAGo|  
      Allows one to disable dynamic method invocation from the URL Q/rOIHiI  
        允许动态方法调用 H)S&sx#q]  
bY:A7.p7#  
struts.freemarker.manager.classname nff&~lwhZ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !MoJb#B3^]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,a&N1G.  
&VtTUy}  
struts.i18n.encoding D{YAEG   
      The encoding to use for localization messages VH1PC  
      国际化信息内码 mZ sftby}  
fMRBGcg7Dc  
struts.i18n.reload Ld>y Fb(`  
      Whether the localization messages should automatically be reloaded ! 9B| `  
      是否国际化信息自动加载 Hm@+(j(N96  
/ *J}7  
struts.locale t3!?F(&  
      The default locale for the Struts application "HTp1  
      默认的国际化地区信息 JFe %W?}.D  
jO\29(_  
struts.mapper.class UD6D![e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class G+?@4?` z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 kylR)  
BU-+L}-48  
struts.multipart.maxSize ')%Kv`hz  
      The maximize size of a multipart request (file upload) L|4kv  
      multipart请求信息的最大尺寸(文件上传用) p#HbN#^Hy  
y\L$8BSL  
struts.multipart.parser o, e y.  
      The org.apache.struts2.dispatcher.multipart. 9B &QY 2v  
      MultiPartRequest parser implementation for a multipart request (file upload) 6v7H?4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Cw1Jl5OVZ  
}Th":sin},  
[V'3/#Z  
struts.multipart.saveDir m~Q]#r  
      The directory to use for storing uploaded files _[}r2,e  
      设置存储上传文件的目录夹 N\XZ=t^h(  
5m2(7FC%su  
struts.objectFactory C 9IKX  
      The com.opensymphony.xwork2.ObjectFactory implementation class .ruGS.nS4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) c$aTl9e  
:<Z*WoEmt  
struts.objectFactory.spring.autoWire (3z: ;  
      Whether Spring should autoWire or not yIC.Jm D*  
      是否自动绑定Spring c|q!C0X[  
Fhw:@@=  
struts.objectFactory.spring.useClassCache 3\FPW1$i|[  
      Whether Spring should use its class cache or not nnLE dJ}n  
      是否spring应该使用自身的cache  R~u0!  
3vTX2e.w  
struts.objectTypeDeterminer gNr/rp9A$m  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W tF  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V&4)B &W  
"-JJ6Bk  
struts.serve.static.browserCache .Lz\/ OS  
If static content served by the Struts filter should set browser caching header properties or not O[[:3!6q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \ F=w~ $)  
>Ya+#j~CZ  
struts.serve.static 5^'PjtW6  
      Whether the Struts filter should serve static content or not cQEK>aAd  
      是否struts过滤器应该提供静态内容 l{wHu(1  
\eD#s  
struts.tag.altSyntax >QRpRHtb  
      Whether to use the alterative syntax for the tags or not h-`Jd>u"  
      是否可以用替代的语法替代tags i-!Z/,oL  
|__\Vn  
struts.ui.templateDir q:Gi Qk-  
      The directory containing UI templates )qs>Z?7  
      UI templates的目录夹 'c[4-m3bg  
5sui*WH  
struts.ui.theme nW2 fB8yq  
      The default UI template theme PY7j uS[+  
      默认的UI template主题 HrQBzS  
` oN~  
struts.url.http.port N}x \Ll  
      The HTTP port used by Struts URLs vtw{ A}  
      设置http端口 [O*5\&6  
c;DWSgIw  
struts.url.https.port NYtp&[s2-  
      The HTTPS port used by Struts URLs E>~DlL%  
      设置https端口 5]cmDk  
nokk! v/  
struts.url.includeParams tWL3F?wd  
      The default includeParams method to generate Struts URLs !7ct=L  
      在url中产生 默认的includeParams Unev[!  
d U n+?  
G]5m@;~l5  
struts.velocity.configfile H%NP4pK  
      The Velocity configuration file path W6f?/{Oo8  
      velocity配置文件路径 UO^"<0u  
HRO :U%  
struts.velocity.contexts i/;Ql, gm  
      List of Velocity context names @!/w'k 8  
      velocity的context列表 I]N?}]uZ  
X%Jq9_  
>#).3  
struts.velocity.manager.classname nQ>?{"  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~oO>6  
      org.apache.struts2.views.velocity.VelocityManager接口名 v^2q\A-?  
27q 9zi!Q  
struts.velocity.toolboxlocation \{  
      The location of the Velocity toolbox E5"%-fAJ  
      velocity工具盒的位置 6|gC##T  
struts.xslt.nocache ,Cx @]]  
      Whether or not XSLT templates should not be cached BL1$ ~0  
      是否XSLT模版应该被缓存 {HPKp&kl  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五