struts2的struts.properties配置文件详解 ]x1o (~
;4Wz0suf
struts.action.extension hEk0MY
The URL extension to use to determine if the request is meant for a Struts action n?S~(4%
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m;oCi}fL
]?*L"()kp
struts.configuration m_C#fR /I
The org.apache.struts2.config.Configuration implementation class D^<5gRK?
org.apache.struts2.config.Configuration接口名 YGsg0I't
3\Tqs
struts.configuration.files mBON>Z[4.
A list of configuration files automatically loaded by Struts fb_q2p}
G
struts自动加载的一个配置文件列表 -40s
Rwe!xY^d8
struts.configuration.xml.reload rvRIKc|}l
Whether to reload the XML configuration or not [t+qYe8
是否加载xml配置(true,false) R&@NFin
Z11I1)%s
struts.continuations.package 5]F4.sa
The package containing actions that use Rife continuations C%q]o
含有actions的完整连续的package名称 N/8_0]Gf
ot;
]?M
struts.custom.i18n.resources P:k!dRb9{
Location of additional localization properties files to load A(T=
加载附加的国际化属性文件(不包含.properties后缀) VX,@Gp_' m
Ox^VU2K;&.
struts.custom.properties Gi Max
Location of additional configuration properties files to load w|(
ix;pK
加载附加的配置文件的位置 iXD=_^^o .
.&;:X )
<ql:n
struts.devMode mt]50}eK
Whether Struts is in development mode or not sHm:G_
是否为struts开发模式 i/aj;t
<I.{meDg
struts.dispatcher.parametersWorkaround a8cX{6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >e^8fpgSo
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KD73Aw
\$Aw[
5&t
struts.enable.DynamicMethodInvocation P.'$L\
Allows one to disable dynamic method invocation from the URL K(heeZUt
允许动态方法调用 !WNO!S0/j
2O
"
~k
struts.freemarker.manager.classname *#;
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class UmOK7SPi
org.apache.struts2.views.freemarker.FreemarkerManager接口名 #waK^B)<a
}-%:!*bLj
struts.i18n.encoding yPT\9"/
The encoding to use for localization messages n*y@3.
国际化信息内码 =e|
3im2
`n
struts.i18n.reload .y2np
Whether the localization messages should automatically be reloaded 31{)~8
是否国际化信息自动加载 jGFDj"Y
2hFOwI
struts.locale YfJQ]tt1
The default locale for the Struts application =`MMB|{6
默认的国际化地区信息 EBx!q8zz
v0,&wdi
struts.mapper.class T74."Lo#
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e<-^
org.apache.struts2.dispatcher.mapper.ActionMapper接口 7U`8W\-
u!9bhL`
struts.multipart.maxSize U'Fc\M5l/l
The maximize size of a multipart request (file upload) 4<y|SI!
multipart请求信息的最大尺寸(文件上传用) ^_XV }&7Q
K?X
6@u|h
struts.multipart.parser
!AFii:#
The org.apache.struts2.dispatcher.multipart. GL'zNQP-
MultiPartRequest parser implementation for a multipart request (file upload) `fUPq
;
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !?J?R-C
nWsR;~pK
~)%DiGW&
struts.multipart.saveDir Qm2(Z8Gh
The directory to use for storing uploaded files sT+\
z
设置存储上传文件的目录夹 , \R,O
w$FN(BfA
struts.objectFactory x(bM
The com.opensymphony.xwork2.ObjectFactory implementation class _Rey~]iJJ8
com.opensymphony.xwork2.ObjectFactory接口(spring) *D;VZs0O
<PTi>C8;r
struts.objectFactory.spring.autoWire Y"'k $jS-
Whether Spring should autoWire or not F >co#
是否自动绑定Spring g0"KCX
YV"LM6`
struts.objectFactory.spring.useClassCache q.69<Rs
Whether Spring should use its class cache or not ["XS|"DM
是否spring应该使用自身的cache FaA7m
[nG[@)G~0M
struts.objectTypeDeterminer -[-Ry6G
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dX;G[\
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <]kifiN#
6Rc%P)6
struts.serve.static.browserCache wVY;)1?
If static content served by the Struts filter should set browser caching header properties or not <n|.Z-gF\
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 AAld2"r
a@U0s+V&a0
struts.serve.static .47tj`L
Whether the Struts filter should serve static content or not 1PdxoRa4=
是否struts过滤器应该提供静态内容 =OU]<%
NJTC+`Hm
struts.tag.altSyntax 32ae? d
Whether to use the alterative syntax for the tags or not J t,7S4JL
是否可以用替代的语法替代tags ;
#^Jy#)
>5}jM5$
struts.ui.templateDir \~`qE<Q/
The directory containing UI templates
gC}D0l[
UI templates的目录夹 n*U+jc
7+^4v(s
struts.ui.theme PM!7ci
The default UI template theme a?QDf5Cq
默认的UI template主题 60St99@O
8ncgTCH:
struts.url.http.port Nd.Tda!Kg
The HTTP port used by Struts URLs /o=,\kM
设置http端口 fG\]&LFBU
IfGQeynj
struts.url.https.port V`z2F'vT
The HTTPS port used by Struts URLs xr\wOQ*`
设置https端口 (" +/ :
CF k^(V"
struts.url.includeParams #Zy-X_r
The default includeParams method to generate Struts URLs hf1f
在url中产生 默认的includeParams 3e.v'ccK&
1@Zjv>jy[
)!``P?3?
struts.velocity.configfile \PB ~6
The Velocity configuration file path %wp#vO-$
velocity配置文件路径 #e:*]A'I
$&|*v1rH
struts.velocity.contexts ?>p<!:E!r
List of Velocity context names @BZ6{@*
velocity的context列表 $N#f)8v
*0,?QS-a
yEfV8aY'*
struts.velocity.manager.classname o(/(`/
org.apache.struts2.views.velocity.VelocityManager implementation class K"sfN~@rT[
org.apache.struts2.views.velocity.VelocityManager接口名 *QF3l0&
( |1 $zF+
struts.velocity.toolboxlocation L:y}
L
The location of the Velocity toolbox i7[CqObzc
velocity工具盒的位置 EMe6Z!k
struts.xslt.nocache 2>l:: 8Pp
Whether or not XSLT templates should not be cached $3!j1
是否XSLT模版应该被缓存 .wD>0Ig