struts2的struts.properties配置文件详解 h.}u?{
Z&Pu8zG
/m
struts.action.extension lDN?|YG
The URL extension to use to determine if the request is meant for a Struts action q3+8]-9|5
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D/:3RZF
%*K;np-q{
struts.configuration YtYy zX5u7
The org.apache.struts2.config.Configuration implementation class P=gJAE5
org.apache.struts2.config.Configuration接口名 _ZyT3P&
u"Y]P*[k
struts.configuration.files 8,*3zVk-
A list of configuration files automatically loaded by Struts Q0>q:aj\
struts自动加载的一个配置文件列表 'RLOV
CXAVGO'xw
struts.configuration.xml.reload |}Ph"g2D,
Whether to reload the XML configuration or not 5g0_WpO
是否加载xml配置(true,false) onnugj3
7 :U8 f:
struts.continuations.package t$I|E
The package containing actions that use Rife continuations l"\uf(0K
含有actions的完整连续的package名称 Yqj+hC6>,
B9#;- QO
struts.custom.i18n.resources >];"N{ A
Location of additional localization properties files to load kEP<[K
加载附加的国际化属性文件(不包含.properties后缀) [r9d<Zi}{
y6%<zhs
struts.custom.properties ~Z/7pP+
Location of additional configuration properties files to load l$M +.GB<
加载附加的配置文件的位置 gtYRV*^q
"8/dD]=f^a
m~>@BCn;
struts.devMode U^ ?=
0+
Whether Struts is in development mode or not J?D\$u:
是否为struts开发模式 1;&T^Gdj
tX?J@+
struts.dispatcher.parametersWorkaround |GuEGmR
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (/?R9T[V&^
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S#2[%o
(>AFyh&3,X
struts.enable.DynamicMethodInvocation Dbz]{_Y;
Allows one to disable dynamic method invocation from the URL sfI N)jh
允许动态方法调用 fj+O'X
!^v\^Fc
struts.freemarker.manager.classname OKPJuV`y6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~:Mm<*lL%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 E474l
( 3;`bvYH"
struts.i18n.encoding P']Y(
!L
The encoding to use for localization messages *rf$>8~$n
国际化信息内码 6N3@!xtpi
*Hunp Y
struts.i18n.reload \ja `c)x
Whether the localization messages should automatically be reloaded /80YZ
是否国际化信息自动加载 .'lN4x
3dm'xetM
struts.locale Ef,Cd[]b
The default locale for the Struts application ~ 5"J(
默认的国际化地区信息 [hHG.
jVYH;B%%z
struts.mapper.class %g w{[
/[A
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class g^j7@dum
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Funj!x'uE
aD|Yo
struts.multipart.maxSize HcO5?{2
The maximize size of a multipart request (file upload) 7cw]v"iv
multipart请求信息的最大尺寸(文件上传用) KB+]eI-h
o](.368+4
struts.multipart.parser Euu
,mleM
The org.apache.struts2.dispatcher.multipart. `%y5\!X
MultiPartRequest parser implementation for a multipart request (file upload) y<M]dd$
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :hP58 }Q$
!01i%W'
h8.FX-0& =
struts.multipart.saveDir [H^ X"D
The directory to use for storing uploaded files _}ele+
设置存储上传文件的目录夹 {D,RU8&
V(..8}LlD
struts.objectFactory E}$V2ha0zu
The com.opensymphony.xwork2.ObjectFactory implementation class Z,aGtJ.a'9
com.opensymphony.xwork2.ObjectFactory接口(spring) %U?)?iZdL
7\%$>< K
struts.objectFactory.spring.autoWire |-61(X.
Whether Spring should autoWire or not %nQmFIt
是否自动绑定Spring O<X
)p`,`
38wq (
struts.objectFactory.spring.useClassCache sX'nn
Whether Spring should use its class cache or not w-FHhf
是否spring应该使用自身的cache ]^'ZiyJX
Q52bh'cuU
struts.objectTypeDeterminer C #aFc01B
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class SRWg[H
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -*3(a E
or.\)(m#(
struts.serve.static.browserCache B_&^ER5j
If static content served by the Struts filter should set browser caching header properties or not 5^2TfG9
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bQ.nFa']
qZbHMTnT6
struts.serve.static Ja [#[BJ?
Whether the Struts filter should serve static content or not X6kaL3L}
是否struts过滤器应该提供静态内容 gjZx8oIoP
u+z~
struts.tag.altSyntax =|V"#3$f
Whether to use the alterative syntax for the tags or not e &Rb
是否可以用替代的语法替代tags 4 J8Dh;a`
Cuv|6t75'
struts.ui.templateDir !.eAOuq
The directory containing UI templates })7K S?
UI templates的目录夹 O6]u!NqG
]_#SAhOR)
struts.ui.theme {AgBwBCE
The default UI template theme ^A#x<J+
默认的UI template主题 s41adw>
e~
BJvZ}Q
struts.url.http.port
mn`5pha
The HTTP port used by Struts URLs U8[Qw}T P
设置http端口 G?ZC9w]rA
{aIZFe}B
struts.url.https.port EL +,jrU~
The HTTPS port used by Struts URLs b9#m m
设置https端口 zq=&4afOE
JWWInuH
struts.url.includeParams U'M|=I'
The default includeParams method to generate Struts URLs Bac| ;+L~L
在url中产生 默认的includeParams T 9MzUV&
UM\}aq=,
yxY
h?ka
struts.velocity.configfile 'M-)Os"
The Velocity configuration file path nX 8B;*p6b
velocity配置文件路径 SwJHgZ&
R8ZD#,;
struts.velocity.contexts U!NI_uk
List of Velocity context names kQ[Jo%YT?E
velocity的context列表 |Eu*P
mtX31M4
Gw`/.0
struts.velocity.manager.classname c_DaNEfaY
org.apache.struts2.views.velocity.VelocityManager implementation class i'iO H|s
org.apache.struts2.views.velocity.VelocityManager接口名 g-|Kyhr?=
Z9f/-|r5
struts.velocity.toolboxlocation <M305BH
The location of the Velocity toolbox B
G5X_s0/
velocity工具盒的位置 "$P'Wv
struts.xslt.nocache %2YN,a4
Whether or not XSLT templates should not be cached fFHK:n`
是否XSLT模版应该被缓存 DZ2Fl>7