struts2的struts.properties配置文件详解 t2vm&jk
ZA. SX|m
struts.action.extension 1ig*Xp[
The URL extension to use to determine if the request is meant for a Struts action oJ*,a
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `L 1+j
! [1aP,
struts.configuration R&6@*Nn
The org.apache.struts2.config.Configuration implementation class $M4Z_zle)
org.apache.struts2.config.Configuration接口名 rQlQ^W$=?
+TA~RCd
struts.configuration.files 7P(jMalq
A list of configuration files automatically loaded by Struts N%>h>HJ
struts自动加载的一个配置文件列表 t_xK?``
M*qE)dZjS
struts.configuration.xml.reload szhSI
Whether to reload the XML configuration or not DZ\ '7%c
是否加载xml配置(true,false) 2L;=wP2?{
E9>z.vV
struts.continuations.package L fcy#3!
The package containing actions that use Rife continuations B|"/bQ
含有actions的完整连续的package名称 ^X+qut+~
[e
ztu9
struts.custom.i18n.resources gm,AH85
Location of additional localization properties files to load i ]8bj5j{
加载附加的国际化属性文件(不包含.properties后缀) ^^7@khmNl
mD.6cV
struts.custom.properties 0>BI[x@
Location of additional configuration properties files to load $#+D:W)az
加载附加的配置文件的位置 7g]mrI@
8x)i{>#i
"_LqIW1
struts.devMode MZX)znO
Whether Struts is in development mode or not 0;T7fKj
是否为struts开发模式 yA"?Hv \o;
)D#} /3s
struts.dispatcher.parametersWorkaround 6{^\7`
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +D4m@O
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t3?I4HQ
#9r}Kr=P
struts.enable.DynamicMethodInvocation zj]
g^c;
Allows one to disable dynamic method invocation from the URL u&c%L0)E&
允许动态方法调用 jQ'g'c!
T(Q ~b
struts.freemarker.manager.classname I<sUB4T>#W
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lb}RPvQE
org.apache.struts2.views.freemarker.FreemarkerManager接口名 j!!s>7IZ
0wNlt#G;{
struts.i18n.encoding mF~]P8
The encoding to use for localization messages ]NBx5m+y@i
国际化信息内码 B0gD4MX/
>g>r_0.
struts.i18n.reload r<n:o7
Whether the localization messages should automatically be reloaded [t3 Kgjt
是否国际化信息自动加载 Ns1n|^9
et~D9='E
struts.locale ~!2fUewEu
The default locale for the Struts application ;SjNZi)4d
默认的国际化地区信息 T]z(>{
2jC:uk
struts.mapper.class Z}0xK6
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]i6*$qgma
org.apache.struts2.dispatcher.mapper.ActionMapper接口 /bo=,%wJ[
b\H&E{Gn|x
struts.multipart.maxSize Yb<:1?76L
The maximize size of a multipart request (file upload) {V(~
multipart请求信息的最大尺寸(文件上传用) "5k6FV
o938!jML_
struts.multipart.parser \W TKw x
The org.apache.struts2.dispatcher.multipart. 6@/k|t>OT
MultiPartRequest parser implementation for a multipart request (file upload) 7- LjBlH
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \/j,
s+fxv(,"c
R!"|~OO
struts.multipart.saveDir ,9jk<)m]L
The directory to use for storing uploaded files "u4x#7n|
设置存储上传文件的目录夹 xrBM`Bj0@
Kf[.@_TD<1
struts.objectFactory R\&z3<-S
The com.opensymphony.xwork2.ObjectFactory implementation class 6pS}\aD
com.opensymphony.xwork2.ObjectFactory接口(spring) sCY
d7r!<u&/
struts.objectFactory.spring.autoWire +FadOx7X$
Whether Spring should autoWire or not yv]|Ce@8A
是否自动绑定Spring )h 6 w@TF
?.F^Oi6
u
struts.objectFactory.spring.useClassCache uQn1kI[y
Whether Spring should use its class cache or not DjN1EP\Xx
是否spring应该使用自身的cache M \k[?i
u&S0
struts.objectTypeDeterminer ohx$;j
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class O/Hj-u6&A
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U _A'/p^D
r^msJ|k8[
struts.serve.static.browserCache >0ZG&W9
If static content served by the Struts filter should set browser caching header properties or not 0U*f"5F
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w0j'>4
A g+B*
struts.serve.static UcB&