struts2的struts.properties配置文件详解 xMjhC;i{
\3JCFor/
struts.action.extension //63|;EEkl
The URL extension to use to determine if the request is meant for a Struts action qp})4XT v
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z@zo~*o
X
_ZO)|
struts.configuration oco,sxT
The org.apache.struts2.config.Configuration implementation class .LDZqWr-
org.apache.struts2.config.Configuration接口名 w-K A~
w"'
Pn`T
struts.configuration.files T!c|O3m
A list of configuration files automatically loaded by Struts <m-(B"FX
struts自动加载的一个配置文件列表
/a1uG]Mt
L`nW&;w'
struts.configuration.xml.reload xS|9Gk
Whether to reload the XML configuration or not Ae>+Fcv
是否加载xml配置(true,false) "'v+*H 3
,JwX*L<:
struts.continuations.package kLgkUck8]
The package containing actions that use Rife continuations Bp^LLH
含有actions的完整连续的package名称 ZXnacc~s
"@G[:(BoB<
struts.custom.i18n.resources [icD*N<Gc
Location of additional localization properties files to load UT3Fi@
加载附加的国际化属性文件(不包含.properties后缀) 0|AgmW_7
.
9lq5\ tL-
struts.custom.properties |=q~X}DA
Location of additional configuration properties files to load v2x+_K}J
加载附加的配置文件的位置 -Lq+FTezE
%+'Ex]B
("a@V8M`$F
struts.devMode J1w[gf]J
Whether Struts is in development mode or not EXSJ@k6=8s
是否为struts开发模式 B#g~c<4<
](JrEg$K
struts.dispatcher.parametersWorkaround T,!EL+o4
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l= {Y[T&
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m1W) PUy
m7k }k)
struts.enable.DynamicMethodInvocation ta?NO{*
Allows one to disable dynamic method invocation from the URL aU6l>G`w
允许动态方法调用 U`6|K$@
?s2-iuMPd
struts.freemarker.manager.classname q(n"r0)=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !=YE hQ-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 *EuX7LEu_
xKu#OH
struts.i18n.encoding {~9z uNi
The encoding to use for localization messages 2Hd\>{*
国际化信息内码 3wfcGQn|sD
Q"I(3 tp9[
struts.i18n.reload >az~0PeEL
Whether the localization messages should automatically be reloaded ,=+t2Bn
是否国际化信息自动加载 =AO
(
&5y
struts.locale xN*k&!1&
The default locale for the Struts application 1 iox0
默认的国际化地区信息 i(%2t(wf+
M0$MK>
struts.mapper.class eKOEOm+
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +c%jOl
org.apache.struts2.dispatcher.mapper.ActionMapper接口 3t<a3"{9
#e@NV4q
struts.multipart.maxSize qy'-'UlIr
The maximize size of a multipart request (file upload) Al?%[-u
multipart请求信息的最大尺寸(文件上传用) 93*d:W8Vr
YC1Bgz
struts.multipart.parser K~d'*J-
The org.apache.struts2.dispatcher.multipart. ?7fqWlB
MultiPartRequest parser implementation for a multipart request (file upload) S${%T$>
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R3G\Gchd
lo!pslqsn
1 3]e< '
struts.multipart.saveDir AO8 #l
YP?
The directory to use for storing uploaded files ]$drBk86bh
设置存储上传文件的目录夹 {ENd]@N*
ou-#+Sdd
struts.objectFactory rf=l1GW
The com.opensymphony.xwork2.ObjectFactory implementation class `<g]p-=":
com.opensymphony.xwork2.ObjectFactory接口(spring) |fKT@2(
bit|L7*14
struts.objectFactory.spring.autoWire x_~_/&X5
Whether Spring should autoWire or not _]@u)$
是否自动绑定Spring vu)EB!%[
;=n}61
struts.objectFactory.spring.useClassCache =RHtugwy
Whether Spring should use its class cache or not ogIu\kiZ
是否spring应该使用自身的cache by+xK~>
Y-bTKSn
struts.objectTypeDeterminer .#~!w!T
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wb9(aS4
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 FaCW +9B
^oav-R&
struts.serve.static.browserCache VWzQXo
If static content served by the Struts filter should set browser caching header properties or not S(CkA\[rz
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S!PG7hK2
W! $U{=
struts.serve.static !D F~]&
Whether the Struts filter should serve static content or not .tKBmq0xo"
是否struts过滤器应该提供静态内容 J;~YD$
1n<4yfJ
struts.tag.altSyntax gbYM1guiD
Whether to use the alterative syntax for the tags or not AS]8rH
是否可以用替代的语法替代tags
s7n7u7$j
$VQ;y|K+[
struts.ui.templateDir ll0y@@Iy
The directory containing UI templates C$0u-Nx8
UI templates的目录夹 Ej)7[
g^H,EaPl
struts.ui.theme ZxSnqbyA*
The default UI template theme 5 eL
b/,R
默认的UI template主题 $1 B?@~&
UF^[?M =
struts.url.http.port q)9n%- YgP
The HTTP port used by Struts URLs va_u4
设置http端口 g%Tokl
Csy$1;"A
struts.url.https.port m-$}'mEO
The HTTPS port used by Struts URLs p*5_+u
设置https端口 ;o'r@4^&$R
ML'y`S
struts.url.includeParams r'y Nc&~
The default includeParams method to generate Struts URLs 'm`}XGUBS
在url中产生 默认的includeParams
3#$X
C_>XtcU
6)0.q|Q
struts.velocity.configfile n%29WF6Zf
The Velocity configuration file path uWKmINjv'
velocity配置文件路径 x#3*C|A
~b*]jZwT
struts.velocity.contexts _ f";zd
List of Velocity context names sQA_ 6]`
velocity的context列表 ~n@rX=Y)]0
RHBQgD$
i,^3aZwJ'
struts.velocity.manager.classname [u!n=ev
org.apache.struts2.views.velocity.VelocityManager implementation class JDR_k
org.apache.struts2.views.velocity.VelocityManager接口名 N,K/Ya)1
hsrf 2Xw[
struts.velocity.toolboxlocation b4dviYI
The location of the Velocity toolbox dq.U#Rhrx
velocity工具盒的位置 TaD;_)(
struts.xslt.nocache BVeMV4
Whether or not XSLT templates should not be cached X-nC2[tu'W
是否XSLT模版应该被缓存 OWwqCPz.