struts2的struts.properties配置文件详解 Jw13
Wb-
j9Qd
45
struts.action.extension cGF_|1`
The URL extension to use to determine if the request is meant for a Struts action wEd+Ds]$
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 sG-$d\
1d
8<V6W F`e
struts.configuration NGQBOV
The org.apache.struts2.config.Configuration implementation class A|jmp~@K)+
org.apache.struts2.config.Configuration接口名 XC44]o4jx
'-9B`O,&
struts.configuration.files #snwRW>=[
A list of configuration files automatically loaded by Struts Xwz9E!m
struts自动加载的一个配置文件列表 F}9!k LR
S-x'nu$u
struts.configuration.xml.reload *}fs@"S
Whether to reload the XML configuration or not {7EnM1]
是否加载xml配置(true,false) W=QT-4
S
^5EG;[
struts.continuations.package Ug}dw a
The package containing actions that use Rife continuations Cn\5Vyrl
含有actions的完整连续的package名称 h>0R!Rl8
r0MUv}p#|L
struts.custom.i18n.resources =yT3#A~<G
Location of additional localization properties files to load R1,.H92
加载附加的国际化属性文件(不包含.properties后缀) 5a8[0&hA 2
IZ9L
;"}
struts.custom.properties Cd Bsd
Location of additional configuration properties files to load p~v
rr 5
加载附加的配置文件的位置 o<1a]M|
7E0L-E=.
ajr);xd
struts.devMode _ ^ JhncL
Whether Struts is in development mode or not !V%h0OE\
是否为struts开发模式 [u?*'
c{
cx+w_D9b!
struts.dispatcher.parametersWorkaround tccw0
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,=Q;@Z4 vJ
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /R/\>'{E&c
v d{`*|x
struts.enable.DynamicMethodInvocation c@|!0
U%j
Allows one to disable dynamic method invocation from the URL O {hM
允许动态方法调用 !sTOo
\r.{Ru
struts.freemarker.manager.classname 0fOx&"UAB
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class DfPC@`
k
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?cyBF*o
b-/8R|Mem
struts.i18n.encoding |qOoL*z
The encoding to use for localization messages E*B6k!:
国际化信息内码 y3Z\ Y[
-(oFO'Lbg
struts.i18n.reload {fd/:B 7T
Whether the localization messages should automatically be reloaded ,ORwMZtw{H
是否国际化信息自动加载 J2_~iC&;s
]J '#KT{
struts.locale T'W@fif
The default locale for the Struts application W5)R{w0`GD
默认的国际化地区信息 vk1E!T9X
B@+&?%ub:
struts.mapper.class
pYRqV
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `d,v
org.apache.struts2.dispatcher.mapper.ActionMapper接口 -22]|$f
W{El^')F
struts.multipart.maxSize ^Rpy5/d
The maximize size of a multipart request (file upload) q
HU}EEv
multipart请求信息的最大尺寸(文件上传用) w=;Jj7}L
%&Fsk]T%:
struts.multipart.parser }EMds3<
The org.apache.struts2.dispatcher.multipart. R(^2+mV?
MultiPartRequest parser implementation for a multipart request (file upload) 7A,lQh
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `SfBT1#5G
;h"St0
Hxr)`i46
struts.multipart.saveDir `;c{E%qeq
The directory to use for storing uploaded files /cXVJ(#j
设置存储上传文件的目录夹 {CaTu5\
ZzO^IZKlC
struts.objectFactory fep8hf B;
The com.opensymphony.xwork2.ObjectFactory implementation class fxOa(mt
com.opensymphony.xwork2.ObjectFactory接口(spring) RxB9c(s^@
C$x
r)_
struts.objectFactory.spring.autoWire $[6] Ly(F)
Whether Spring should autoWire or not J$>9UCk7B
是否自动绑定Spring k|r|*|8
/QW-#K|S&
struts.objectFactory.spring.useClassCache 9j8<Fs0M
Whether Spring should use its class cache or not n5U-D0/Q
是否spring应该使用自身的cache !7>~=n_,L.
0|chRX
struts.objectTypeDeterminer }o d5kK;
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class '
X9D( ?O
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $&ZN%o3
x-@}x@n&[
struts.serve.static.browserCache GF/!@N
If static content served by the Struts filter should set browser caching header properties or not i.5?b/l0
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8q/3}AnI
isR)^fI|
struts.serve.static S2\|bs7;J,
Whether the Struts filter should serve static content or not %2ZWSQD
是否struts过滤器应该提供静态内容 [dIlt"2fV
gLzQM3{X9
struts.tag.altSyntax DQ`\HY
Whether to use the alterative syntax for the tags or not "Nh}_jO
是否可以用替代的语法替代tags j&|>Aa${
3$n O@rOS
struts.ui.templateDir aWk1D.
The directory containing UI templates >"|"Gy (
UI templates的目录夹 JW2~
G!@
]w5j?h"b
struts.ui.theme _qp^+
The default UI template theme VSDG_:!K
默认的UI template主题 JBMJR
,&ld:v?~
struts.url.http.port rk)h_zN
The HTTP port used by Struts URLs 8r\;8all
设置http端口 Y7GHIzX
7H$wpn
Zln
struts.url.https.port 9k*1_
The HTTPS port used by Struts URLs Mrly(*!U"@
设置https端口 ZD#{h J-
QT)5-Jy
struts.url.includeParams 1=Y pNXX
The default includeParams method to generate Struts URLs Z[%vO?,
在url中产生 默认的includeParams wqE+hKs,
_!C M
(>
VD#n
struts.velocity.configfile x*a^msY%
The Velocity configuration file path 7\<}378/^
velocity配置文件路径 ~ \3j{pr
8-geBlCE,
struts.velocity.contexts \wb0%>
0
List of Velocity context names e .(
velocity的context列表 iji2gWV}h
H6V!W\:s
+AkMU|6
struts.velocity.manager.classname bPMkBm
org.apache.struts2.views.velocity.VelocityManager implementation class \eoJ6IRE\T
org.apache.struts2.views.velocity.VelocityManager接口名 Jf3xK"in
@q++eGm\Q
struts.velocity.toolboxlocation
c W^
The location of the Velocity toolbox _@A%t&l
velocity工具盒的位置 c0.? d]
struts.xslt.nocache !McRtxq?~
Whether or not XSLT templates should not be cached `Qxdb1>mjY
是否XSLT模版应该被缓存 .?dYY;P