struts2的struts.properties配置文件详解 vik A
_;L%? -2c
struts.action.extension }Q&zYC]d
The URL extension to use to determine if the request is meant for a Struts action z*n
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Yef=HSzo
%Xc50n2Z
struts.configuration sQUJ]h
The org.apache.struts2.config.Configuration implementation class qWX%[i%
org.apache.struts2.config.Configuration接口名 7iMBDkb7
nX~Qt%
struts.configuration.files b* k=
A list of configuration files automatically loaded by Struts N3dS%F,_
struts自动加载的一个配置文件列表 TgMa!Vz
hEUS&`K
struts.configuration.xml.reload J<hqF4z
Whether to reload the XML configuration or not :/UO3 c(
是否加载xml配置(true,false) OH.^m6Z
W%&t[_21
struts.continuations.package #gn{X!;-;
The package containing actions that use Rife continuations _3@[S
F
含有actions的完整连续的package名称 `o/G0~T)
&O8vI,M
struts.custom.i18n.resources hWc`4xdl
Location of additional localization properties files to load aT|SKb`
加载附加的国际化属性文件(不包含.properties后缀) @uA=v/>+
lw+Y_;
struts.custom.properties ASGV3r(
Location of additional configuration properties files to load :kU#5Aj gK
加载附加的配置文件的位置 N{+6 V`\
TQ`s&8"P
UU\wP(f
struts.devMode 4`E[WE:Q
Whether Struts is in development mode or not s/Ne,v
是否为struts开发模式 >-8r|};+
XBx&&
struts.dispatcher.parametersWorkaround pHKcKqB*13
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <[.{aj]QV
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3DjlX*
WxPu{N
struts.enable.DynamicMethodInvocation %!P^se
Allows one to disable dynamic method invocation from the URL rtM29~c>@
允许动态方法调用 )M3}6^s]
f2h`bO
struts.freemarker.manager.classname +vf~s^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;OC~,?O5
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7`xeuK
Z4ekBdmCL
struts.i18n.encoding U$,-F**
The encoding to use for localization messages _*iy *:(o
国际化信息内码 <S[]VXy
BjX*Gm6l
struts.i18n.reload unX mMSz(
Whether the localization messages should automatically be reloaded ZG(. Q:1
是否国际化信息自动加载 <TN+-)H6
lZ,w#sqbY
struts.locale m8}c(GwcP
The default locale for the Struts application J|$UAOEDa
默认的国际化地区信息 ,c]<Yu
9}-;OJe
struts.mapper.class ( JMk0H3u
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r0^ *|+
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,zF^^,lO7
Cx~,wk;=
struts.multipart.maxSize A4K8DP
The maximize size of a multipart request (file upload) K92nh/}y
multipart请求信息的最大尺寸(文件上传用) wWYo\WH'
gh9Gc1tKt
struts.multipart.parser
]v2%h X
The org.apache.struts2.dispatcher.multipart. *ggai?
MultiPartRequest parser implementation for a multipart request (file upload) \]Bwib%h
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DXF>#2E^+
op8[8pt%
Mi^/`1
struts.multipart.saveDir m>FP&~2
The directory to use for storing uploaded files +HDfEo T
设置存储上传文件的目录夹 =Ju%3ptH0
q%S^3C&
struts.objectFactory aHR+4m~)
The com.opensymphony.xwork2.ObjectFactory implementation class evSr?ys
com.opensymphony.xwork2.ObjectFactory接口(spring) 6uS;H]nd<
,vDSY N6
struts.objectFactory.spring.autoWire z( !K8
T
Whether Spring should autoWire or not ?3#L?Cq
是否自动绑定Spring }1kZF{KD<[
} *:H\GL
struts.objectFactory.spring.useClassCache tUGnp'r
Whether Spring should use its class cache or not <nvzNXql
是否spring应该使用自身的cache \+Nn>wW.
-3GlpC22
struts.objectTypeDeterminer `;
+UWdAR
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class MSqW {
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U{,:-R
b?U2g?lN:
struts.serve.static.browserCache E"<-To
If static content served by the Struts filter should set browser caching header properties or not <`)vp0
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f]4j7K!e]
r }S>t~p:
struts.serve.static Zdfruzl&`
Whether the Struts filter should serve static content or not T)#e=WcP]
是否struts过滤器应该提供静态内容 a&z$4!wQB
.;J6)h
struts.tag.altSyntax aN5"[&
Whether to use the alterative syntax for the tags or not t) uS7y
是否可以用替代的语法替代tags /1BqC3]tL
BAIR!
struts.ui.templateDir )z\ 73|w
The directory containing UI templates he!Uq%e
UI templates的目录夹 'ZFbyt Q2
c BcZ@e;
struts.ui.theme @
JfQ}`
The default UI template theme GT 5J`
默认的UI template主题 b3.}m[]
230ijq3YG
struts.url.http.port WSxE/C|[
The HTTP port used by Struts URLs mS?W+jy%
设置http端口 9,jFQb(),
G2
0
struts.url.https.port T9NTL\;
The HTTPS port used by Struts URLs /Ue_1Efa
设置https端口 oiRrpS\T.
QTIC5cl,
struts.url.includeParams !d
Z:Ih.[{
The default includeParams method to generate Struts URLs
frRO?
在url中产生 默认的includeParams bLsN?_jy
7pO/!Lm
cGM?r}zJ
struts.velocity.configfile
myOdf'=
The Velocity configuration file path !g[UFw
velocity配置文件路径 LjySO2
nV/;yl4e{
struts.velocity.contexts SG@E*yT1
List of Velocity context names v*JXrB&x
velocity的context列表 8&wN9tPYZ
&HBC9Bx/(
9GgXX9K
struts.velocity.manager.classname !NO)|N>
org.apache.struts2.views.velocity.VelocityManager implementation class @bIZ0tr4
org.apache.struts2.views.velocity.VelocityManager接口名 |hD)=sCj
^&7gUH*v
struts.velocity.toolboxlocation [:M Fx6
The location of the Velocity toolbox 2-dEie/{'
velocity工具盒的位置 quL+UFuM
struts.xslt.nocache 7-Mm+4O9
Whether or not XSLT templates should not be cached }B`T%(11=
是否XSLT模版应该被缓存 h4E[\<?