struts2的struts.properties配置文件详解 *Mg=IEu-6[
s+yBxgQ/
struts.action.extension X
z2IAiAs'
The URL extension to use to determine if the request is meant for a Struts action f>\?\!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ro}plK(<WQ
2OAh7 '8<
struts.configuration "%A/bv\u
The org.apache.struts2.config.Configuration implementation class VaZS_qGe:
org.apache.struts2.config.Configuration接口名 gpHI)1i'H
o8KlY?hX
struts.configuration.files 7w@.)@5
A list of configuration files automatically loaded by Struts ^\e:j7@z
struts自动加载的一个配置文件列表 $*b>c:
b-M[la}1"
struts.configuration.xml.reload $Z+N* w~8
Whether to reload the XML configuration or not t<|=-
是否加载xml配置(true,false) hAfR Hd
)}~k7bb}Y
struts.continuations.package NX@TWBn%
The package containing actions that use Rife continuations .m;1V6
含有actions的完整连续的package名称 WQv~<]1JF
@-kzSm
struts.custom.i18n.resources
iq5h[
Location of additional localization properties files to load +m:U9K(\h
加载附加的国际化属性文件(不包含.properties后缀) !b rN)b)f
=XQ3sk6U
struts.custom.properties mmwwz
Location of additional configuration properties files to load !g=,O6
加载附加的配置文件的位置 UmiW_JB
^^jF*)DT@
@2CYv>
struts.devMode l"IBt:
Whether Struts is in development mode or not | (v/>t
是否为struts开发模式 ?
4qN>uW=
qk~QcVg
struts.dispatcher.parametersWorkaround [jDO8n/
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #ZCgpg$wM
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 67 7p9{:
0w8Id
. ,
struts.enable.DynamicMethodInvocation <rRmbFH#
Allows one to disable dynamic method invocation from the URL 15iCJ p
允许动态方法调用 vFL3eu#
-gIuL
struts.freemarker.manager.classname Toy~\
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :n0(g B
org.apache.struts2.views.freemarker.FreemarkerManager接口名 >]T(}S~
+3si=x\=/
struts.i18n.encoding [5)1
4%
x
The encoding to use for localization messages '3[Ecy#
国际化信息内码 &5(|a"5+G
]AERi]
B
struts.i18n.reload $w[@L7'(
Whether the localization messages should automatically be reloaded NvJu)gI%
是否国际化信息自动加载 z|+L>O-8
]'~'V2Ey
struts.locale m?;)C~[
The default locale for the Struts application o%M~Q<wf
默认的国际化地区信息 baR{
%+gze|J
struts.mapper.class {'"A hiR/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class KOhy)h+ h
org.apache.struts2.dispatcher.mapper.ActionMapper接口 fa\<![8LAU
6\4oHRJC
struts.multipart.maxSize >^|\wy
The maximize size of a multipart request (file upload) /y@$|DI1
multipart请求信息的最大尺寸(文件上传用) B(Y{
YwoytoXK
struts.multipart.parser XLqS{r~?
The org.apache.struts2.dispatcher.multipart. `q7I;w+g
MultiPartRequest parser implementation for a multipart request (file upload) 9@QP?=\Y
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1_7x'5GdA
L9fhe,en
H!Uy4L~>
struts.multipart.saveDir r.-NfK4
The directory to use for storing uploaded files =c-j4xna>
设置存储上传文件的目录夹 JP!$uK{u
7<IrN\@U
struts.objectFactory bxkp9o
The com.opensymphony.xwork2.ObjectFactory implementation class FxM`$n~K
com.opensymphony.xwork2.ObjectFactory接口(spring) HY5g>wv@
(}4tj4d
struts.objectFactory.spring.autoWire \dIIZSN
Whether Spring should autoWire or not "h$A. S
是否自动绑定Spring P8DJv-f`
8@6:UR.)
struts.objectFactory.spring.useClassCache mEz&:A
Whether Spring should use its class cache or not j,6dGb
是否spring应该使用自身的cache q$:T<mFK$
nHD4J;l
struts.objectTypeDeterminer F3H)B:
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W>wE8? _,
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6/nhz6=
<G 2;nvRr
struts.serve.static.browserCache 3t68cdFlz
If static content served by the Struts filter should set browser caching header properties or not 2~R"3c+^
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z(/jQ=ozQ
vB/MnEKR
struts.serve.static ua`2
&;T=
Whether the Struts filter should serve static content or not e{To&gy~
是否struts过滤器应该提供静态内容 E^A9u
|x
jl3RE|M\<
struts.tag.altSyntax ;OPz T9
Whether to use the alterative syntax for the tags or not ws?p2$ Cla
是否可以用替代的语法替代tags }(op;7
g3LAi#m
struts.ui.templateDir N=tyaS(YJ
The directory containing UI templates +s1+;VUs3
UI templates的目录夹 /LuwPM
jTSw 0\}
struts.ui.theme TeHL=\L-^
The default UI template theme lG%oqxJ+ L
默认的UI template主题 o\b8lwA,
CN\s,. ]
struts.url.http.port .H7"nt^
The HTTP port used by Struts URLs B`"-~4YAf
设置http端口 !x;T2l
[FF%HRce,.
struts.url.https.port "LP4)hr_`
The HTTPS port used by Struts URLs q/70fR7{v
设置https端口 j#-ZL-N
T=;'"S
struts.url.includeParams N+HN~'8r
The default includeParams method to generate Struts URLs <^n9?[m*
在url中产生 默认的includeParams \&@Tq-o
#^!oP$>1
RX?Nv4-
struts.velocity.configfile Zp-
Av8
The Velocity configuration file path g 4Vt"2|
velocity配置文件路径 1swh7
d/Zt}{
struts.velocity.contexts lNqXx{!k
List of Velocity context names
S3)JEZi
velocity的context列表 S U2`H7C*
6M+~{9(S
*=@Z\]"?
struts.velocity.manager.classname ;&Eu<%y
org.apache.struts2.views.velocity.VelocityManager implementation class DrHMlk5
org.apache.struts2.views.velocity.VelocityManager接口名 LeQ2,/7l:
!*C^gIQGU
struts.velocity.toolboxlocation 8
l}tYl`|
The location of the Velocity toolbox Zm&Zz^s
velocity工具盒的位置 8{%/!ylJz
struts.xslt.nocache N7+K$)3
Whether or not XSLT templates should not be cached 0)k%nIhj
是否XSLT模版应该被缓存
4?jhZLBU