struts2的struts.properties配置文件详解 jyZ (RB
)eUh=eW
struts.action.extension B^4&-z2|
The URL extension to use to determine if the request is meant for a Struts action E{XH?_xo
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kZR8a(4D
HVi'eNgo
struts.configuration
~ksi</s
The org.apache.struts2.config.Configuration implementation class KaPAa:Q
org.apache.struts2.config.Configuration接口名 :flx6,7D
@i2E\}
struts.configuration.files CDsSrKhx
A list of configuration files automatically loaded by Struts J l(&!?j
struts自动加载的一个配置文件列表 LInz<bc<(
<c2E'U)X
struts.configuration.xml.reload MI/MhkS
?
Whether to reload the XML configuration or not 94h]~GqNi
是否加载xml配置(true,false) &v56#lG
[4YTDEv%
struts.continuations.package >"^ O"E
The package containing actions that use Rife continuations Nv#t:J9f
含有actions的完整连续的package名称 ;Y00TGU
qX/y5F`
struts.custom.i18n.resources v[
.cd*b
Location of additional localization properties files to load ]OM"ZG/^
加载附加的国际化属性文件(不包含.properties后缀) GZEc l'h*
?4+9fE<Q
struts.custom.properties } df
W%{
Location of additional configuration properties files to load L{X_^
加载附加的配置文件的位置 ^]H5h ]U'
gqZ'$7So
y&6FybIz
struts.devMode `95r0t0hh\
Whether Struts is in development mode or not B^1>PE
是否为struts开发模式 Vx$ \hcG
WJQvB=D&
struts.dispatcher.parametersWorkaround +9M^7/}H
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :0Bq^G"ge
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) C6VLy x
t)~"4]{*}D
struts.enable.DynamicMethodInvocation @@R7p
Allows one to disable dynamic method invocation from the URL tI`Q /a5@
允许动态方法调用 BBaQ}{F8>2
APvDP?
struts.freemarker.manager.classname o*-)Tq8GHE
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U_M$#i{_
org.apache.struts2.views.freemarker.FreemarkerManager接口名 '}9x\3E
hpHr\g
struts.i18n.encoding qyZ"
%Kz
The encoding to use for localization messages =b%MXT
国际化信息内码 (/z_Q{"N
o2nv+fyW
struts.i18n.reload qU+t/C.
Whether the localization messages should automatically be reloaded *QpMF/<?
是否国际化信息自动加载 xe]y]
B;M?,<%FRU
struts.locale (uXL^oja
The default locale for the Struts application vq0Vq(V=
默认的国际化地区信息 5yd MMb
7r7YNn/?
struts.mapper.class 'H3^e}
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @ju@WY45$^
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;ic3).H
|LRedD7n
struts.multipart.maxSize {
d=^}-^
The maximize size of a multipart request (file upload) pM+ AjPr
multipart请求信息的最大尺寸(文件上传用) 2a-w%
(K
|nc@"OJ
struts.multipart.parser %>yG+Od5Z
The org.apache.struts2.dispatcher.multipart. w^?>e;/\
MultiPartRequest parser implementation for a multipart request (file upload) 'KP@W9j
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n&L+wqJ
4;w;'3zq
"7
4-4
struts.multipart.saveDir dz:E?
The directory to use for storing uploaded files {Bk[rCl
设置存储上传文件的目录夹 riUwBiVa?2
>W%EmnLK
struts.objectFactory p?*Q- f
The com.opensymphony.xwork2.ObjectFactory implementation class iIvc43YV%
com.opensymphony.xwork2.ObjectFactory接口(spring) 9%k2'iV7
zpzK>DH(
struts.objectFactory.spring.autoWire Cl5uS%g
Whether Spring should autoWire or not <->{
是否自动绑定Spring o15-ZzE-
@fHi\W2JG
struts.objectFactory.spring.useClassCache PxTwPl
Whether Spring should use its class cache or not u#Pa7_zBj]
是否spring应该使用自身的cache srr
:!5
Vrjc~>X
struts.objectTypeDeterminer *U^6u/iH
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class viW!,QQ(S
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ({
8-*
Ar%%}Gx/
struts.serve.static.browserCache .?D7dyU l1
If static content served by the Struts filter should set browser caching header properties or not `n.5f[wC
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^?-:'<4q$
Ye\rB\-
struts.serve.static spGb!Y`mR
Whether the Struts filter should serve static content or not }d[ kxo
是否struts过滤器应该提供静态内容 !Xh=k36
TcyNIx
struts.tag.altSyntax #9B)Xx!g
Whether to use the alterative syntax for the tags or not J; 3{3
是否可以用替代的语法替代tags O%Scjm-^X
k|v3.< -
struts.ui.templateDir j?A/#
The directory containing UI templates &D>G8
UI templates的目录夹 T%x}Y#U'`
|Z|-q"Rf
struts.ui.theme g9m-TkNk
The default UI template theme 10G}{
默认的UI template主题 Z EXc%-M
/vY(o1o
x
struts.url.http.port _- [''(E
The HTTP port used by Struts URLs o906/5M
设置http端口 qPWP&k
}HL]yDO
struts.url.https.port 9"@\s$
OBk
The HTTPS port used by Struts URLs e2L0VXbb
设置https端口 6}Vf\j~
9
3U_tQ&1?
struts.url.includeParams 6 +Sxr
The default includeParams method to generate Struts URLs z
F_M*8=
在url中产生 默认的includeParams BIb4h
$Ad{Z
Eav[/cU
struts.velocity.configfile -<c=US
The Velocity configuration file path jTf@l?|
velocity配置文件路径 CHdX;'`*
aC^\(wp[
struts.velocity.contexts K#l:wH_
List of Velocity context names _ ?TN;
velocity的context列表 @v$Y7mw3D
bo<~jb{
q?,).x
nN
struts.velocity.manager.classname o=u3&liBi
org.apache.struts2.views.velocity.VelocityManager implementation class K}2Erm%A@y
org.apache.struts2.views.velocity.VelocityManager接口名 (ScxLf=]
qBU-~"2t
struts.velocity.toolboxlocation hMzs*gK
The location of the Velocity toolbox x*
DarSk
velocity工具盒的位置 7@#>bE6
struts.xslt.nocache h&|[eZt?F
Whether or not XSLT templates should not be cached HvUxsdT
是否XSLT模版应该被缓存 ylUrLQ\