struts2的struts.properties配置文件详解 ;e.8EL
z?pi/`y8>
struts.action.extension X}Om)WCr
The URL extension to use to determine if the request is meant for a Struts action n.t5:SW
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;M~9Yr=1
a,(nf1@5
struts.configuration (V1;`sI8
The org.apache.struts2.config.Configuration implementation class aRElk&M
org.apache.struts2.config.Configuration接口名 8!YQ9T [
%!eRR
struts.configuration.files %|D)U>o{
A list of configuration files automatically loaded by Struts -}PE(c1%?q
struts自动加载的一个配置文件列表 JY@bD:
vG7Mk8mIr
struts.configuration.xml.reload \Zh&[D!2
Whether to reload the XML configuration or not ay|jq"a
是否加载xml配置(true,false) iJj!-a:z.
R !yh0y}Z
struts.continuations.package
"a9j2+9
The package containing actions that use Rife continuations 2vU-9p {
含有actions的完整连续的package名称 P_'{|M<?
-v-kFzu
struts.custom.i18n.resources bDudETl
Location of additional localization properties files to load hnH<m7
加载附加的国际化属性文件(不包含.properties后缀) }a#T\6rY
J5n6K$.d
struts.custom.properties [oXSjLQm[
Location of additional configuration properties files to load 'IFA>}e7W
加载附加的配置文件的位置 ycSGv4
)
WrcmC$ff
#d*0
)w
struts.devMode RyU8{-q
Whether Struts is in development mode or not 5D2mZ/
是否为struts开发模式 5gV,^[E-z
L>mM6$l
struts.dispatcher.parametersWorkaround v9FR
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic d3
i(UN]
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) V)`A,7X
P{9wJ<
struts.enable.DynamicMethodInvocation zyO=x4U8
Allows one to disable dynamic method invocation from the URL W -HOl!)
允许动态方法调用 ^/$dSXKF
Y652&{>q
struts.freemarker.manager.classname vq.o;q /
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $STGH
org.apache.struts2.views.freemarker.FreemarkerManager接口名 cJbv,RV<
$_;rqTk]g
struts.i18n.encoding <Np Mv!g
The encoding to use for localization messages qA\&%n^j]
国际化信息内码 +nHr+7}
B8?9L8M}
struts.i18n.reload ah
f,- ?S
Whether the localization messages should automatically be reloaded |d-x2M[
是否国际化信息自动加载 xQU//kNL
OI*ltba?
struts.locale *aC[Tv[-P
The default locale for the Struts application d}tmZ*q
默认的国际化地区信息 ]n>9(Mp!M
he/rt#
struts.mapper.class GF9[|).
T
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ']fyD3N
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :\'1x
1LSJy*yY
struts.multipart.maxSize Z.!<YfA)
The maximize size of a multipart request (file upload)
04&S.#+(
multipart请求信息的最大尺寸(文件上传用) vea{o35!
lR7;{zlSf'
struts.multipart.parser Y:\]d1C
The org.apache.struts2.dispatcher.multipart. H! 5Ka#B
MultiPartRequest parser implementation for a multipart request (file upload) 8+dsTX`|S
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R+0gn/a[ G
-^yc<%U
fZr{x$]N0
struts.multipart.saveDir a%BC{XX
The directory to use for storing uploaded files j>?nL~{
设置存储上传文件的目录夹 E2dS@!]V
pfIK9>i
struts.objectFactory 1%vE 7a>{
The com.opensymphony.xwork2.ObjectFactory implementation class EPLHw
com.opensymphony.xwork2.ObjectFactory接口(spring) _<jU! R
QxaMe8(
struts.objectFactory.spring.autoWire l3BN,HNv+
Whether Spring should autoWire or not Rf8ZH
是否自动绑定Spring xzA!,75@U
Oi& 9FS
struts.objectFactory.spring.useClassCache ,1B4FAR&
Whether Spring should use its class cache or not M E]7e^
是否spring应该使用自身的cache jg'"?KSU~
fKFD>u0%
struts.objectTypeDeterminer I4w``""c
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 04=RoYMM
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q.7X3A8
42hG}Gt
struts.serve.static.browserCache ]AM*9!
If static content served by the Struts filter should set browser caching header properties or not 3hBYx@jTO
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5uSg]2:
|x1Ttr,
struts.serve.static ,wg (}y'
Whether the Struts filter should serve static content or not PBW_9&