struts2的struts.properties配置文件详解 _H}hK kG+
O.Te"=^"F
struts.action.extension OP= oSfa
The URL extension to use to determine if the request is meant for a Struts action D'moy*E
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 IEM{?
8t< X
struts.configuration aox@- jyr
The org.apache.struts2.config.Configuration implementation class g;q.vHvsc"
org.apache.struts2.config.Configuration接口名 9%R"(X)
KDf#e3
struts.configuration.files 2u0B=0x
A list of configuration files automatically loaded by Struts x~m$(LT
struts自动加载的一个配置文件列表 '9qyf<MlY
5Uhxl^c
struts.configuration.xml.reload m'G=WO*%
Whether to reload the XML configuration or not W! |_ hL
是否加载xml配置(true,false) d@8:f
h1B_*L
struts.continuations.package \Lb wfd=
The package containing actions that use Rife continuations PxWH)4
含有actions的完整连续的package名称 dB&<P[$+8
D;48VK/Q
struts.custom.i18n.resources ]
fA5D)/m<
Location of additional localization properties files to load Jv%)UR.]
加载附加的国际化属性文件(不包含.properties后缀) ?#doH,
a>6M{C@pd
struts.custom.properties _TJkYz$
Location of additional configuration properties files to load s/3sOb}sA
加载附加的配置文件的位置 ]A+t@/k
Q?>*h xzoP
;Hp78!#,
struts.devMode KB~`3Wj|Z
Whether Struts is in development mode or not 9qzHy}A
是否为struts开发模式 JvCy&xrE;
8{%&P%vf
struts.dispatcher.parametersWorkaround RZ9_*Lq7+
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -EU=R_yg
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8A*tpMV?J
ojJua c4
struts.enable.DynamicMethodInvocation /L]@k`.q@
Allows one to disable dynamic method invocation from the URL HFYe@ 2r
允许动态方法调用 n c.P
U`{ M1@$
struts.freemarker.manager.classname l;h -`( 11
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u2':~h?l
org.apache.struts2.views.freemarker.FreemarkerManager接口名 C.}ho.}
r
<8h3)$
struts.i18n.encoding )1YGWr;ykS
The encoding to use for localization messages b+dmJ]c
国际化信息内码 UpiZd/K
>Fe=PRs
struts.i18n.reload ZY6%%7?1
Whether the localization messages should automatically be reloaded HuxvIg
是否国际化信息自动加载 Jcp=<z*0
?f5||^7
struts.locale '81Rwp
The default locale for the Struts application !:_krLB<
默认的国际化地区信息 O`~L*h_
@ L/i
struts.mapper.class kc@\AZb
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1P BnGQYM
org.apache.struts2.dispatcher.mapper.ActionMapper接口 0h('@Hb.K#
"/hLZl
struts.multipart.maxSize *@YQr]~
;
The maximize size of a multipart request (file upload) 1@+&6UC
multipart请求信息的最大尺寸(文件上传用) $7Tj<;TV
PhmtCp0-7-
struts.multipart.parser Ml_!)b
The org.apache.struts2.dispatcher.multipart. b#S-u }1PE
MultiPartRequest parser implementation for a multipart request (file upload) {#+'T 13sx
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) CZCVC (/u
Gl T/JZ9
%nkbQ2^
struts.multipart.saveDir +J !1z
The directory to use for storing uploaded files )VG_Y9;Xk:
设置存储上传文件的目录夹 368H6 Jj
J =#9eW
struts.objectFactory L\t!)X-4
The com.opensymphony.xwork2.ObjectFactory implementation class uVw|jj
com.opensymphony.xwork2.ObjectFactory接口(spring) sgB|2cj;j
(j}edRUnB
struts.objectFactory.spring.autoWire lF$$~G
Whether Spring should autoWire or not 3TKl
是否自动绑定Spring %bhFl,tL
DEenvS`,P
struts.objectFactory.spring.useClassCache t3.I ` Z
Whether Spring should use its class cache or not ^Ov+n1,)
是否spring应该使用自身的cache T(*A0
e" p5hpl
struts.objectTypeDeterminer @])}+4D(S
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Sr6?^>A@t
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vLcOZ^iK
< 'r<MA<
struts.serve.static.browserCache liH1r1M
If static content served by the Struts filter should set browser caching header properties or not WQY\R!+
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p,2H8I){
8j@ADfZ9
struts.serve.static (/J %Huy
Whether the Struts filter should serve static content or not G*^4CJ
是否struts过滤器应该提供静态内容 '\LU 8VC
R!_1 *H$
struts.tag.altSyntax rK
cr1VFy
Whether to use the alterative syntax for the tags or not 5{M$m&$1
是否可以用替代的语法替代tags +L}R|ihkI
^|%7}=e
struts.ui.templateDir P6 mDwR
The directory containing UI templates $b"Ex>
UI templates的目录夹 !9=Y(rb
wW'.bqA
struts.ui.theme RS
Vt
The default UI template theme 2H`;?#Uq:
默认的UI template主题 q62U+o9G
E&|EokSyN
struts.url.http.port ~ePtK~,dv
The HTTP port used by Struts URLs 6NzS <
设置http端口 78u=J z6
q&EwD(k
struts.url.https.port ig:z[k?
The HTTPS port used by Struts URLs _K|?;j#x0k
设置https端口 5~SBZYI
G)y'ex k
struts.url.includeParams v1Jg8L=
The default includeParams method to generate Struts URLs 8HH\wu$$e
在url中产生 默认的includeParams 5?gZw;yiv%
I6F $@
/)xQ# yfX
struts.velocity.configfile ,koG*sn
The Velocity configuration file path SrSm%Dv
velocity配置文件路径 lyrwm{&
$*dY f
struts.velocity.contexts :X-\!w\
List of Velocity context names ^]?Yd )v
velocity的context列表 k.w}}78N2N
Ix|^c268o<
9 kS;_(DB
struts.velocity.manager.classname R{Qvpd$y
org.apache.struts2.views.velocity.VelocityManager implementation class 2/FH9T;e".
org.apache.struts2.views.velocity.VelocityManager接口名 qt#4i.Iu+
Jl^THoEL
struts.velocity.toolboxlocation >R8eAR$N
The location of the Velocity toolbox U-:_4[
velocity工具盒的位置 =)y=39&;/
struts.xslt.nocache .FAuM~_99b
Whether or not XSLT templates should not be cached $^"_Fox]A\
是否XSLT模版应该被缓存 4xNzhnp|