struts2的struts.properties配置文件详解 XQn1B3k+
xE;O =mI
struts.action.extension O<Q8%Az
The URL extension to use to determine if the request is meant for a Struts action &kzysv-_
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 66F?exr
z]rr
Q=dAA
struts.configuration m-azd~r[
The org.apache.struts2.config.Configuration implementation class +@^);b6
org.apache.struts2.config.Configuration接口名 l3p :}A
3s?u05_
struts.configuration.files NW5OLa")J<
A list of configuration files automatically loaded by Struts Q;VuoHj!
struts自动加载的一个配置文件列表 o/7u7BQl2
Le?g,c
struts.configuration.xml.reload >Y8\f:KQ
Whether to reload the XML configuration or not (eU 4{X7
是否加载xml配置(true,false) xE@/8h
P#!N
struts.continuations.package gZ^Qt.6Z
The package containing actions that use Rife continuations h_#=f(.'j
含有actions的完整连续的package名称 u#EcR}=]
XEA5A.uc
struts.custom.i18n.resources ^D+^~>f
Location of additional localization properties files to load B%uY/Mwz$
加载附加的国际化属性文件(不包含.properties后缀) 7Q&-ObW
9\hI:rI
struts.custom.properties =3(Auchl$Y
Location of additional configuration properties files to load F^bY]\-5
加载附加的配置文件的位置 l90"1I A
4zS0kk;+
=[]6NjKS,
struts.devMode $O*@Jg=
Whether Struts is in development mode or not cg3}33Z;6
是否为struts开发模式 }r@dZBp:
9}9VZ r?
struts.dispatcher.parametersWorkaround J6s]vV q"
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -ymDRoi
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zsJ# CDm
p"
>*WQ
struts.enable.DynamicMethodInvocation "."(<c/3
Allows one to disable dynamic method invocation from the URL 0)Ephsw
允许动态方法调用 !Nx1I
SC~k4&xy
struts.freemarker.manager.classname ?v
M9
!
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ecs 0iW-,
org.apache.struts2.views.freemarker.FreemarkerManager接口名 +`GtZnt#
3:nBl?G<
struts.i18n.encoding %\<b{x# G
The encoding to use for localization messages kd^H}k
国际化信息内码 w1"+HJd
A/<u>cCW
struts.i18n.reload ]7Vg9&1`
Whether the localization messages should automatically be reloaded Kb(11$U
是否国际化信息自动加载 edo )W
mn
x']'ODs
struts.locale *KvD$(ny
The default locale for the Struts application c$ZVvu
默认的国际化地区信息 =^u;uS[IW
J;obh.}u"{
struts.mapper.class dW4jkjap
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class wUCxa>h'
org.apache.struts2.dispatcher.mapper.ActionMapper接口 q5R|
^uf
iv$YUM+
struts.multipart.maxSize +v;z^+
The maximize size of a multipart request (file upload) ;WSW&2
multipart请求信息的最大尺寸(文件上传用) &t9V
V#dga5*]
struts.multipart.parser '?9zL*
The org.apache.struts2.dispatcher.multipart. h[]9F.[
MultiPartRequest parser implementation for a multipart request (file upload) 6"Fn$ :l?
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :/|"db&`
RA[j=RxK
V+Tv:a
struts.multipart.saveDir bOj)Wu
The directory to use for storing uploaded files ).5X
设置存储上传文件的目录夹 NV4g5)D&L
tsc`u>
struts.objectFactory !}TsFa
The com.opensymphony.xwork2.ObjectFactory implementation class kh0cJE\_^
com.opensymphony.xwork2.ObjectFactory接口(spring) 4=tR_s
'vBZh1`p
struts.objectFactory.spring.autoWire $].htm
Whether Spring should autoWire or not Os"('@jd>
是否自动绑定Spring 2DCQ5XewYe
PoF3fy%.
struts.objectFactory.spring.useClassCache hU#e\L 7
Whether Spring should use its class cache or not h`|04Q
是否spring应该使用自身的cache ]j*2PSJG
Lg7A[\c
~
struts.objectTypeDeterminer EhHxB
fAQ
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class en< $.aY
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {Uw
0zC
e NIzI]~
struts.serve.static.browserCache ]X>yZec
If static content served by the Struts filter should set browser caching header properties or not l\s!A&L
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 pIlEoG=[_
Q>%n&;:
struts.serve.static [
/o'l:
Whether the Struts filter should serve static content or not W91yj:
是否struts过滤器应该提供静态内容 5X!-Hj
kMQ
/9~
struts.tag.altSyntax rz "$zc.)
Whether to use the alterative syntax for the tags or not 5YD~l(,S1]
是否可以用替代的语法替代tags +Dy^4p?o
NGc~%0n
struts.ui.templateDir Z[. M>|
The directory containing UI templates o&q>[c
UI templates的目录夹 u;_~{VJ-
uNzc,OH
struts.ui.theme bT.q@oU
The default UI template theme gN=.}$Kfu
默认的UI template主题 R_PF*q2 '
5Kg'&B (
struts.url.http.port @oA z
The HTTP port used by Struts URLs "@UQSf,
设置http端口 vamZKm~p
q\6(_U#Tl
struts.url.https.port D`LBv,n
The HTTPS port used by Struts URLs B3#G
设置https端口 xR1G
4KH492Nq9
struts.url.includeParams sT\:**
The default includeParams method to generate Struts URLs &P?2H66s
在url中产生 默认的includeParams
_>-
D*l
>pU9}2fpT
P3_.U8g$r
struts.velocity.configfile cl~Yx4
The Velocity configuration file path fW-C`x
velocity配置文件路径 ShB]U5b:k
.;?!I_`
struts.velocity.contexts eTuqK23
List of Velocity context names zK<af
velocity的context列表 g":[rXvId
R+M&\ 5
T D_@0Rd
struts.velocity.manager.classname z:,PwLU
org.apache.struts2.views.velocity.VelocityManager implementation class ;m(iKwDt
org.apache.struts2.views.velocity.VelocityManager接口名 sl]<A[jR
E#k{<LYI
struts.velocity.toolboxlocation MYAt4cHc2
The location of the Velocity toolbox OR<+y~Rv
velocity工具盒的位置 3z+l-QO8
struts.xslt.nocache o<`hj&s
Whether or not XSLT templates should not be cached =gB5JB<}2
是否XSLT模版应该被缓存 ^|Q]WHNFB