struts2的struts.properties配置文件详解 `FUFK/7
w\
OuB2 x=B
struts.action.extension z*6$&sS\>
The URL extension to use to determine if the request is meant for a Struts action ZV!R#Xv
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 'sj9[o@]
sf Dg/ a
struts.configuration 3PsxOb+
The org.apache.struts2.config.Configuration implementation class d,)}+G
org.apache.struts2.config.Configuration接口名 [ZuVUOm
SK's!m:r=
struts.configuration.files
?E%+}P
A list of configuration files automatically loaded by Struts <u0*"
struts自动加载的一个配置文件列表 8)N0S% B
G9\EZ\x!
struts.configuration.xml.reload 6|QTS|!
Whether to reload the XML configuration or not !q!"UMiG
是否加载xml配置(true,false) csYy7uzi
r+o_t2_b*
struts.continuations.package X*0k>j
The package containing actions that use Rife continuations wi>DZkR
含有actions的完整连续的package名称 Y|mW.
1{^CfamF
struts.custom.i18n.resources [!W5}=^H
Location of additional localization properties files to load R;WW
f.#
加载附加的国际化属性文件(不包含.properties后缀) Q-[3j
9*' &5F=
struts.custom.properties w{3ycR
Location of additional configuration properties files to load u[)_^kIE(n
加载附加的配置文件的位置 /K f L+"^|
iBucT"d]
A*hZv|$0
struts.devMode T-^0:@5o9
Whether Struts is in development mode or not + a-D#^2;
是否为struts开发模式 8`}l\ Y
5\WUoSgy
struts.dispatcher.parametersWorkaround WhH!U0
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N8VVGPa
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q.yb4
*\D}eBd|
struts.enable.DynamicMethodInvocation mKM,kY
Allows one to disable dynamic method invocation from the URL F"I*-!o
允许动态方法调用 y>`5Kyj3-@
byafb+x
struts.freemarker.manager.classname kL|\wci
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rR\;G2p)
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]a M-p@
((qGh>*
struts.i18n.encoding vTdUuj3N
The encoding to use for localization messages ]
@ufV
国际化信息内码 >
V8sm/M
M;qBDT~)
struts.i18n.reload )Bo]=ZTJ^
Whether the localization messages should automatically be reloaded gSb,s [p&+
是否国际化信息自动加载 d ,UCH
NddO*`8+)
struts.locale ^}J<)}Q
The default locale for the Struts application "CMucK
默认的国际化地区信息 c+8V|'4
_C20 +PMO
struts.mapper.class 7{4w2)
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class YGETMIT(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y3k[~A7X
e gI&epN
struts.multipart.maxSize L"^OdpOs
The maximize size of a multipart request (file upload) k=`$6(>Fz
multipart请求信息的最大尺寸(文件上传用) s"WBw'_<<
$C uR}g
struts.multipart.parser 6x/s|RWL1
The org.apache.struts2.dispatcher.multipart. }-74 f
MultiPartRequest parser implementation for a multipart request (file upload) aZ6'|S;
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <6/= y1QC)
0'`S,
Ps3~{zH`
struts.multipart.saveDir `Ug tvo
The directory to use for storing uploaded files g8RPHjvZ
设置存储上传文件的目录夹 W!91tzs:
/D'M 24
struts.objectFactory ?_%u)S*g
The com.opensymphony.xwork2.ObjectFactory implementation class ya.n'X14
com.opensymphony.xwork2.ObjectFactory接口(spring) QjJfE<h
Z5$fE7ba+
struts.objectFactory.spring.autoWire *}w+68eO
Whether Spring should autoWire or not LL.x11o3
是否自动绑定Spring wG8
nw;
f0DK>L
struts.objectFactory.spring.useClassCache 0elxA8Z~e
Whether Spring should use its class cache or not wx*1*KZ
是否spring应该使用自身的cache <!F3s`7~
6WeM rWx
struts.objectTypeDeterminer !p',Za
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7\X$7
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &?y7I Pp
Rk A8
struts.serve.static.browserCache +P)ys#=
If static content served by the Struts filter should set browser caching header properties or not {~'H
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &iBNO,v
CW p#^1F
struts.serve.static 1'Rmg\(
Whether the Struts filter should serve static content or not W:vr@e6
是否struts过滤器应该提供静态内容 FY4 T(4#
F?BS717qS%
struts.tag.altSyntax <( EyXV
Whether to use the alterative syntax for the tags or not wt?o
7R2
是否可以用替代的语法替代tags UFw](%=&M
bq NP#C
struts.ui.templateDir U*\17YU6h
The directory containing UI templates YG`?o
UI templates的目录夹 Xb,T{.3@
)M:)y
struts.ui.theme
q=4Bny0
The default UI template theme Q|c|2byb
默认的UI template主题 i%F<AY\O)
Z!_n_Fk
struts.url.http.port nQ-mmY>#
The HTTP port used by Struts URLs "VTF}#Uo
设置http端口 )R &,'`\
DpvrMI~I_
struts.url.https.port t7*#[x)a
The HTTPS port used by Struts URLs ^~1<f1(
设置https端口 wd+K`I/v7h
Ryv_1gR!
struts.url.includeParams 0` 5e
The default includeParams method to generate Struts URLs I2[]A,f,
在url中产生 默认的includeParams '3Q3lM'lh
"r$/
)];aI A$
struts.velocity.configfile vFhz!P~
The Velocity configuration file path e.8$ga{
velocity配置文件路径 7u|B ](FS
>bIF>9T
struts.velocity.contexts Y3rt5\!
List of Velocity context names 9 <\`nm
velocity的context列表 !YE zFU`L
#
yN*',I&
!%[S49s
struts.velocity.manager.classname pW|u P8#
org.apache.struts2.views.velocity.VelocityManager implementation class o35fifM`
org.apache.struts2.views.velocity.VelocityManager接口名 6Hf,6>
[Y/:@t"2y
struts.velocity.toolboxlocation zk}{ dG^M:
The location of the Velocity toolbox L;/n!k.A
velocity工具盒的位置 K0Tg|9
struts.xslt.nocache &