struts2的struts.properties配置文件详解 O;?~#E<6w
Tic9ri
struts.action.extension CW YJ<27v{
The URL extension to use to determine if the request is meant for a Struts action ]m>MB )9
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 94@!.11
yuX0Y{:I
struts.configuration BniVZCct
The org.apache.struts2.config.Configuration implementation class {~h\;>
org.apache.struts2.config.Configuration接口名 W)hby`k
Sd6^%YB
struts.configuration.files [KJL%u|8/
A list of configuration files automatically loaded by Struts :C6rN}_k
struts自动加载的一个配置文件列表 Z5-'|h$|
t O>qd#I
struts.configuration.xml.reload Lpf=VyqC
Whether to reload the XML configuration or not ?EAqv]
是否加载xml配置(true,false) (Z +C
,SwaDWNO
struts.continuations.package <);u]0
The package containing actions that use Rife continuations Ec
7M'~1
含有actions的完整连续的package名称 )yZE>>3-
>GUTno$J
struts.custom.i18n.resources >@uYleD(
Location of additional localization properties files to load ]#.# ]}=
加载附加的国际化属性文件(不包含.properties后缀) B4ze$#
n#/m7
struts.custom.properties our5k
Location of additional configuration properties files to load qJj5J;k
加载附加的配置文件的位置 fBOG#-a}
P'~3WL4MKs
{HnOUc\4
struts.devMode o]U==
Whether Struts is in development mode or not ]NsaFDi\
是否为struts开发模式 rRel\8
V= PoQ9d
struts.dispatcher.parametersWorkaround ^]gl#&"D
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {'kL]qLg
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pBkPn+@
=^v Ub
struts.enable.DynamicMethodInvocation 3)\qts5
Allows one to disable dynamic method invocation from the URL _4Pi>
允许动态方法调用 Hefqzu
{!h[@f4
struts.freemarker.manager.classname >,vuC4v-
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {piS3xBi
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Z4' v
g\'84:*J\
struts.i18n.encoding S~Q";C[&
The encoding to use for localization messages 2fB@zF
国际化信息内码 S5TT
e?WR={
struts.i18n.reload u*`GIRfWT
Whether the localization messages should automatically be reloaded 9t1_"{'N1
是否国际化信息自动加载 74#@F{ w
Lp=B? H
struts.locale DYK|"@
The default locale for the Struts application ^XVa!s,d
默认的国际化地区信息 $*R9LPpk+
ZrS!R[
struts.mapper.class
.Oh$sma1
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yl%F<5
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,#loVLy
qW^l2Jff
struts.multipart.maxSize &ii
=$4"R
The maximize size of a multipart request (file upload) ^pa).B.`T
multipart请求信息的最大尺寸(文件上传用) _Hk`e}}
yI<'J^1C[
struts.multipart.parser I|H mbTXa
The org.apache.struts2.dispatcher.multipart. i,T{SV
MultiPartRequest parser implementation for a multipart request (file upload) "o^zOU
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [~wcHE
dM$S|,H
&tIm
struts.multipart.saveDir r%i{a
The directory to use for storing uploaded files eSU8/9B
设置存储上传文件的目录夹 ~Y[1Me
QCw<* Id+
struts.objectFactory WAbhBA
The com.opensymphony.xwork2.ObjectFactory implementation class l1S1CS
com.opensymphony.xwork2.ObjectFactory接口(spring) K<tg+(3
JnDR(s4(E
struts.objectFactory.spring.autoWire add-]2`
Whether Spring should autoWire or not CjGI}t
是否自动绑定Spring A )cb
HZ3<}`P_W
struts.objectFactory.spring.useClassCache i1C'
Whether Spring should use its class cache or not <0m;|Ai'W
是否spring应该使用自身的cache R?Qou!*]
Kw|`y %~
struts.objectTypeDeterminer ZlzFmNe60
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dmO|PswW
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 v5o%y:~
m/AN*`V
struts.serve.static.browserCache O{V"'o
If static content served by the Struts filter should set browser caching header properties or not F/Xhm91^
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L z
VbYapPu4b!
struts.serve.static _?"J.i
Whether the Struts filter should serve static content or not yrX]w3kr%
是否struts过滤器应该提供静态内容 Lsdu:+-
j>iM(8`t1
struts.tag.altSyntax T5h[{J^
Whether to use the alterative syntax for the tags or not =Sq7U^(>
是否可以用替代的语法替代tags y8@!2O4
sBwgl9
struts.ui.templateDir cg5DyQ(
The directory containing UI templates `g~-5Z~J
UI templates的目录夹 AXCJFqk;
J,7\/O(`A
struts.ui.theme vY6|V$
The default UI template theme xjpW<-)MLf
默认的UI template主题 53QP~[F8R]
:`K;0`C+
struts.url.http.port DH%X+r
The HTTP port used by Struts URLs J98K:SAR
设置http端口 ?0x;L/d])
OZ6%AUot
struts.url.https.port 92i#It}-/
The HTTPS port used by Struts URLs ~ocr^V{"<~
设置https端口 wHmEt ORo
R)=<q]Ms
struts.url.includeParams ?:E;C<Ar
The default includeParams method to generate Struts URLs vuf|2!kh/
在url中产生 默认的includeParams
^&}Y>O,
P_gQ-pF.
!ktr|9Bl
struts.velocity.configfile ~>n<b1}W
The Velocity configuration file path =6$( m}(74
velocity配置文件路径 bQ%^l#H_n'
`W9_LROD
struts.velocity.contexts `6/7},"9t
List of Velocity context names fCKcv |
velocity的context列表 *uIHa"
rZEu@63
xM:dFS
struts.velocity.manager.classname .1@5*xQ5O
org.apache.struts2.views.velocity.VelocityManager implementation class KR*/ye G!E
org.apache.struts2.views.velocity.VelocityManager接口名 GCoqKE
JF7T1T
struts.velocity.toolboxlocation -[ =`bHo
The location of the Velocity toolbox X:A\{^~
velocity工具盒的位置 >nxtQ
struts.xslt.nocache d={}a,3?
Whether or not XSLT templates should not be cached V;!D:N8<
是否XSLT模版应该被缓存 ^6`U0|5mRX