struts2的struts.properties配置文件详解 5~v(AB(x
A!Knp=Gw
struts.action.extension XPGL3[w\V
The URL extension to use to determine if the request is meant for a Struts action L?AM&w-cg9
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &?}kL=
h
"u .)X3
struts.configuration TXZ(mj?
The org.apache.struts2.config.Configuration implementation class Xp<A@2wt?
org.apache.struts2.config.Configuration接口名 !hwzKm=%N
+9Xu"OFm
struts.configuration.files p} t{8j>
A list of configuration files automatically loaded by Struts >DPds~k
struts自动加载的一个配置文件列表 tjBh$)
7yc9`j}]
struts.configuration.xml.reload 61ON
Whether to reload the XML configuration or not !:]s M-cCt
是否加载xml配置(true,false) 94Kuy@0:+
i*mZi4URN
struts.continuations.package 7.w*+Z>z
The package containing actions that use Rife continuations chvrHvByS
含有actions的完整连续的package名称 oi33{#%t
vkDZv@
struts.custom.i18n.resources EqNz L*E
Location of additional localization properties files to load s9ju/+fv
加载附加的国际化属性文件(不包含.properties后缀) Q#yu(
s0~05{
struts.custom.properties 4?P%M"\Iv
Location of additional configuration properties files to load ,v$2'm)V
加载附加的配置文件的位置 N'lGA;}i
a2(D!_dZR
7 K;'7
struts.devMode .!7Fe)(x
Whether Struts is in development mode or not Q2_WH)J 3
是否为struts开发模式 mG}^'?^K
o=QRgdPD
struts.dispatcher.parametersWorkaround -Fp!w "=T
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic LV[66<T
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <Y}"D Yt
FcA)RsMI*
struts.enable.DynamicMethodInvocation =,/A\F
Allows one to disable dynamic method invocation from the URL ]noP
允许动态方法调用 !9e\O5PmO
^5FJ}MMJf
struts.freemarker.manager.classname 'NG^HLD/
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Tv*1q.MB
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?:{0
#G[
*2h~99
struts.i18n.encoding =hOj8;2
The encoding to use for localization messages $,z[XM&9)
国际化信息内码 &dwI8@&
[+:mt</HN
struts.i18n.reload G]m[S-
Whether the localization messages should automatically be reloaded &8:iB {n
是否国际化信息自动加载 @>
+^<
0%qctZy
struts.locale @2%VU#!m
The default locale for the Struts application Vx\#+)4
默认的国际化地区信息 k?|F0e_
QJ(e*/
struts.mapper.class Chb4VoE
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Fb\2df{@
org.apache.struts2.dispatcher.mapper.ActionMapper接口 vBCZ/F[
r=P$iG'&
struts.multipart.maxSize :(S/$^ U
The maximize size of a multipart request (file upload) KOAz-h@6
multipart请求信息的最大尺寸(文件上传用) 56O<CgJF<
x=)30y3*;
struts.multipart.parser UtGd/\:
The org.apache.struts2.dispatcher.multipart. qhn&;{{
MultiPartRequest parser implementation for a multipart request (file upload) c@ZkX]g
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ./BP+\)lO
I%zo>s6
[pC-{~
struts.multipart.saveDir ,mE]?XyO
The directory to use for storing uploaded files ]Xkc0E1
设置存储上传文件的目录夹 _uy5?auQ
Vp{RX8?.
struts.objectFactory CSk
The com.opensymphony.xwork2.ObjectFactory implementation class \.{pZMM
com.opensymphony.xwork2.ObjectFactory接口(spring) ]5)&36
^&G O4u
struts.objectFactory.spring.autoWire tWX+\ |
Whether Spring should autoWire or not R2H\;N
是否自动绑定Spring sJYKt
Jk6/i;4|
struts.objectFactory.spring.useClassCache 2sd=G'7!
Whether Spring should use its class cache or not ReGO9}
是否spring应该使用自身的cache ~V$5 m j
DRBYH(
struts.objectTypeDeterminer BS<>gA
R;/
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `v/tf|v6
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J\,e/{,X
:EldP,s#x%
struts.serve.static.browserCache Z]> e & N
If static content served by the Struts filter should set browser caching header properties or not C7*Yg$`{
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +[l{C+p
bM3'm$34
struts.serve.static MgK(gL/&[
Whether the Struts filter should serve static content or not s7)# NT2
是否struts过滤器应该提供静态内容 =B{$U~}
T?}=k{C]
struts.tag.altSyntax "F.J>QBd
Whether to use the alterative syntax for the tags or not @SVEhk#
是否可以用替代的语法替代tags UNH}*]u4`
pcxl2I
struts.ui.templateDir +P6
The directory containing UI templates qP .VK?jF|
UI templates的目录夹 TX5/{cHd
T6?d`i i1
struts.ui.theme wYxFjXm
The default UI template theme t-ReT_D|;
默认的UI template主题 WaO;hy~us
"@'9+$i6
struts.url.http.port GH)+yD[o
The HTTP port used by Struts URLs gdn,nL`dP
设置http端口 ?B31t9
@md^mss
struts.url.https.port lV *&^Q8.
The HTTPS port used by Struts URLs W;x LuKIG
设置https端口 Q^5 t]HKn
Y?SJQhN6W
struts.url.includeParams KB-#):'
The default includeParams method to generate Struts URLs L$07u{Q
在url中产生 默认的includeParams )t 7HioQ
$G([#N<
VQJ5$4a&
struts.velocity.configfile bX1! fa
The Velocity configuration file path !~DkA7i 55
velocity配置文件路径 (HgdmN%
*} 4;1OVT
struts.velocity.contexts "Q!{8 9Y
List of Velocity context names CMf~Yv
velocity的context列表 Jx[e{o)o
=:}DD0o*
W$ {sD|d-
struts.velocity.manager.classname 4>eg@s N
org.apache.struts2.views.velocity.VelocityManager implementation class 7`n8
OR4
org.apache.struts2.views.velocity.VelocityManager接口名 0
#;
s{7k
.:Xe* Q
struts.velocity.toolboxlocation jtC ob'n8
The location of the Velocity toolbox
jS)-COk
velocity工具盒的位置 2MrR|hLx
struts.xslt.nocache -BH'.9uqGQ
Whether or not XSLT templates should not be cached 3gXUfv2ID
是否XSLT模版应该被缓存 ag4^y&