struts2的struts.properties配置文件详解 #L[-WC]1y
B{'x2I#,
struts.action.extension x&qC~F*QR%
The URL extension to use to determine if the request is meant for a Struts action MW|Qop[
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NZ:A?h2JR
xQV5-VoFC
struts.configuration 40cgsRa|
The org.apache.struts2.config.Configuration implementation class t]?u<KD<
org.apache.struts2.config.Configuration接口名 x
;V7D5 q
ZS51QB
struts.configuration.files "L^Klk?Vn
A list of configuration files automatically loaded by Struts Ipo?>To
struts自动加载的一个配置文件列表 >5C|i-HX
U 2k^X=yl
struts.configuration.xml.reload l]Ozy@
Ib
Whether to reload the XML configuration or not sM)qzO2wh
是否加载xml配置(true,false) KLv`Xg \
{=Y%=^! s
struts.continuations.package ?o'!(3`L
The package containing actions that use Rife continuations ^c?2n
含有actions的完整连续的package名称 6.? Ke8iC
jUjgxP*7m
struts.custom.i18n.resources 49b#$Xq
Location of additional localization properties files to load My'u('Q%
加载附加的国际化属性文件(不包含.properties后缀) .>z)6S_G
$]:ycn9l
struts.custom.properties ]k~k6#),;
Location of additional configuration properties files to load 2_lgy?OE`
加载附加的配置文件的位置 \Z0-o&;w
r )8[LN-
JjarMJr|D
struts.devMode vZj:\geV
Whether Struts is in development mode or not llVm[7
是否为struts开发模式 ,f0|eu>
FoY_5/
struts.dispatcher.parametersWorkaround K3jKOV8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @,
v'V!
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) rlSar$
sE87}Lz
struts.enable.DynamicMethodInvocation w?^qAj(*d
Allows one to disable dynamic method invocation from the URL ;Awt: jF
允许动态方法调用 $$7Mq*a>
! 6yoD
struts.freemarker.manager.classname ' b41#/-
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {+~}iF<%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7J@iJW],,
9\9:)q
struts.i18n.encoding _t[RHrs
The encoding to use for localization messages MY>mP
国际化信息内码 uan%j]|q%
9PXG*r|D
struts.i18n.reload -#Xo^-&
Whether the localization messages should automatically be reloaded !1
:%!7
是否国际化信息自动加载 Le#>uWM
m\QUt ;
struts.locale )}QtK+Rq
The default locale for the Struts application ZmSe>}B=
默认的国际化地区信息 1<y(8C6
.U.Knn
struts.mapper.class ?.1yNO*s
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "G. L)oD
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ykFm$ 0m+I
w1q-bIU
struts.multipart.maxSize lYz{#UX}
The maximize size of a multipart request (file upload) #R2wt7vE
multipart请求信息的最大尺寸(文件上传用) aLZza"W
uE {r09^q\
struts.multipart.parser ~qFuS933
The org.apache.struts2.dispatcher.multipart. t>nx#ErS
MultiPartRequest parser implementation for a multipart request (file upload) 9<qAf`
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [n%=2*1p
OV<'v%_&
Q<4Sd:P`"
struts.multipart.saveDir ^0oOiZs
The directory to use for storing uploaded files IM-O<T6r[N
设置存储上传文件的目录夹 ;2Aqztp
$oF0[ }S
struts.objectFactory {8b6M
The com.opensymphony.xwork2.ObjectFactory implementation class V~nqPh!Jc
com.opensymphony.xwork2.ObjectFactory接口(spring) ^{f^%)X
"^/3?W>
struts.objectFactory.spring.autoWire U^aMh-
Whether Spring should autoWire or not n*twuB/P 1
是否自动绑定Spring )1#J4
-U&k%X
struts.objectFactory.spring.useClassCache 5d ?\>dA
Whether Spring should use its class cache or not ?K5S{qG'O
是否spring应该使用自身的cache v6uXik
sa8Q1i&%
struts.objectTypeDeterminer .%~m|t+Rt
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9j'(T:Zs
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D(bQFRBY6"
b+b].,
struts.serve.static.browserCache #8xP,2&zf
If static content served by the Struts filter should set browser caching header properties or not [wp(s2=
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mdzUL
d5J
-8Z;s8ACo
struts.serve.static
862e
Whether the Struts filter should serve static content or not eI20)t`j
是否struts过滤器应该提供静态内容 )96tBA%u
UNK}!>HD
struts.tag.altSyntax _.)6~
Whether to use the alterative syntax for the tags or not 2c)Ez?
是否可以用替代的语法替代tags V{qpha4'P
94uAt&&b(
struts.ui.templateDir },r9f MJ
The directory containing UI templates _x+)Tv
UI templates的目录夹 CEQs}bz
JU>F&g/|
struts.ui.theme ^l;N;5L
The default UI template theme sVT:1 kI
默认的UI template主题 qYba%g9RN(
x:wv#Wh:l7
struts.url.http.port B EN
U
The HTTP port used by Struts URLs c&>S
设置http端口 NW=gi
qB
92F9)S{"
struts.url.https.port (:|g"8mQm
The HTTPS port used by Struts URLs QOT|6)Yb
设置https端口 &/+LY_r'<I
h*X5Oh6
struts.url.includeParams fYxdG|>{u
The default includeParams method to generate Struts URLs TzSEQS{
在url中产生 默认的includeParams -] @cUx
q8m[ S4Q]g
>6X$iBb0
struts.velocity.configfile JE~;gz]
The Velocity configuration file path ~<.%sVwE
velocity配置文件路径 }0okyGg>q
lf`" (:./
struts.velocity.contexts obzdH:S
List of Velocity context names 7)-uYi]
dA
velocity的context列表 wZe>}1t
?1afW)`a.v
9*Z!=Y#4,
struts.velocity.manager.classname f%[0}.wp
org.apache.struts2.views.velocity.VelocityManager implementation class >~}}*yp
org.apache.struts2.views.velocity.VelocityManager接口名 u2o196,Ut
SJ7-lben3
struts.velocity.toolboxlocation +,q#'wSQG
The location of the Velocity toolbox ~rfUqM]I
velocity工具盒的位置 ]broU%#"
struts.xslt.nocache F2)\%HR
Whether or not XSLT templates should not be cached ;owU]Xk%8K
是否XSLT模版应该被缓存 TdKo"H*C