struts2的struts.properties配置文件详解 N" E\o,_
3>L1}zyM]
struts.action.extension $<ZX};/D
The URL extension to use to determine if the request is meant for a Struts action 0HNe44oI+D
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fcw\`.
A=XM(2{aN
struts.configuration H.>KYiv+
The org.apache.struts2.config.Configuration implementation class Ei}DA=:s
org.apache.struts2.config.Configuration接口名 PY>j?otD
TzK?bbgr!
struts.configuration.files @kqy!5)K
A list of configuration files automatically loaded by Struts &Q&$J )0
struts自动加载的一个配置文件列表 <78>6u/W%
6?,r d
struts.configuration.xml.reload !0fK*qIL
Whether to reload the XML configuration or not \[D"W{9l
是否加载xml配置(true,false) Q45rP4mQ
6b]vHT|p
struts.continuations.package 4tu2%Og)?
The package containing actions that use Rife continuations >Zr/U!W*?
含有actions的完整连续的package名称 \{UiGCK
l;|1C[V
struts.custom.i18n.resources 0j_!)B
Location of additional localization properties files to load 4e%SF|(Y'h
加载附加的国际化属性文件(不包含.properties后缀) %"KBX~3+Kj
~+T~}S
struts.custom.properties [xE\IqwM
Location of additional configuration properties files to load j;+nnpg
加载附加的配置文件的位置 4p1{Ady
@NyCMe;]
[n:R]|^a
struts.devMode E3gQ`+wNg?
Whether Struts is in development mode or not `mWg$e,
是否为struts开发模式 9]7^/g*!
vkt)!hl `
struts.dispatcher.parametersWorkaround q g%<>B&"
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tGf
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :^ cA\2=
RKBtwZx>f
struts.enable.DynamicMethodInvocation \}<nXn!
Allows one to disable dynamic method invocation from the URL zF{z_c#3@
允许动态方法调用 yXEC@#?|
Z>X-u eV
struts.freemarker.manager.classname -AffKo
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XDI@mQmzB
org.apache.struts2.views.freemarker.FreemarkerManager接口名 SgY>$gP9S
JgxOxZS`@
struts.i18n.encoding IGbQ L
The encoding to use for localization messages J7l1-
国际化信息内码 ZM)a4h,kcm
TI*uNS;-
struts.i18n.reload UnO -?
Whether the localization messages should automatically be reloaded 1$
l3-x
是否国际化信息自动加载 `Y(/G"]
ChBZGuO:
struts.locale f|<
*2Mk
The default locale for the Struts application t=yM}#r$
默认的国际化地区信息 qQ|v~^
ey Cg *
struts.mapper.class F5*Xx g}N
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Rq\.RR](
org.apache.struts2.dispatcher.mapper.ActionMapper接口 R"82=">v
J@)6]d/,
struts.multipart.maxSize +1cK (Si
The maximize size of a multipart request (file upload) V=
.'Db2D
multipart请求信息的最大尺寸(文件上传用) $Itehy
:Tjo+vw7$H
struts.multipart.parser .IG(Y!cB
The org.apache.struts2.dispatcher.multipart. mk0rAN
MultiPartRequest parser implementation for a multipart request (file upload) e<IT2tv>u
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) jt;,7Ek
/O&j1g@
gN(8T_r
struts.multipart.saveDir K\;b3
The directory to use for storing uploaded files IJs`3?
设置存储上传文件的目录夹 0_%u(?
BGUP-_&
struts.objectFactory 8WaVs 6
The com.opensymphony.xwork2.ObjectFactory implementation class T"dEa-O
com.opensymphony.xwork2.ObjectFactory接口(spring) paiF ah
km8[azB o
struts.objectFactory.spring.autoWire +='.uc_
Whether Spring should autoWire or not j[c|np4k\
是否自动绑定Spring SFh6'v'1N@
{
\Q'eL8
struts.objectFactory.spring.useClassCache +=:CW'B5
Whether Spring should use its class cache or not a|66[
是否spring应该使用自身的cache 9?]4s-~
n32BHOVE
struts.objectTypeDeterminer L.erP*
w
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'GNT'y_
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [S*bN!t
d7l0;yR&+
struts.serve.static.browserCache jMZ{>l.v
If static content served by the Struts filter should set browser caching header properties or not 4Kx;F
9!%~
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wLNO\JP'
!v94FkS>
struts.serve.static b^FB[tZ\x
Whether the Struts filter should serve static content or not :~g=n&x
是否struts过滤器应该提供静态内容 0h$23.
mNs&*h}
struts.tag.altSyntax 7zy6`OP
Whether to use the alterative syntax for the tags or not bl:.D~@
是否可以用替代的语法替代tags jYuH
zf
&grT}
struts.ui.templateDir H{9di\xnEm
The directory containing UI templates ^TnBtIU-B
UI templates的目录夹 p"Fj6T2
LL.YkYu
struts.ui.theme q(_pk&/
The default UI template theme 4WDh8U
默认的UI template主题 nV
GrW#'E
3C2L _ K3
struts.url.http.port RV7l=G9tq
The HTTP port used by Struts URLs 8g&uCv/Uk
设置http端口 NCd_h<}|6F
MSsboSxA
struts.url.https.port ] S]F&B
M|
The HTTPS port used by Struts URLs 7pmhH%Dn$
设置https端口 vBKBMnSd
ZOfyy E
struts.url.includeParams nIKh<ws4z
The default includeParams method to generate Struts URLs ^P\(IDJCo
在url中产生 默认的includeParams ?r#e
X8p-VCkV
De\&r~bTW9
struts.velocity.configfile Ll%[}C?~]?
The Velocity configuration file path $^}?98m
velocity配置文件路径 }"%tlU!}
i,Yv
struts.velocity.contexts quVTqhg"
List of Velocity context names b=`h""u
velocity的context列表 xR\$2(
27G6C`}
0Ocy$
struts.velocity.manager.classname t%V!SvT8+
org.apache.struts2.views.velocity.VelocityManager implementation class ;ukwKfs
org.apache.struts2.views.velocity.VelocityManager接口名 i\2~yXw\
Z6A*9m
struts.velocity.toolboxlocation "\)j=MI8u+
The location of the Velocity toolbox &8z`]mB{t
velocity工具盒的位置 F3i+t+Jt
struts.xslt.nocache Hq3"OMG q
Whether or not XSLT templates should not be cached z45ImItH
是否XSLT模版应该被缓存 q:+,'&<D