struts2的struts.properties配置文件详解 WH<\f|xR
*t`=1Ioj
struts.action.extension k/i&e~! \
The URL extension to use to determine if the request is meant for a Struts action xu@+b~C\
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vBV_aB1{
Ah;`0Hz;
struts.configuration X.AE>fx*h
The org.apache.struts2.config.Configuration implementation class x??H%'rP
org.apache.struts2.config.Configuration接口名 ~BgNMO;|
\^dYmU
struts.configuration.files K/$5SN1
A list of configuration files automatically loaded by Struts {Hz;*1?$k
struts自动加载的一个配置文件列表 T3t
w.yh
QG5c>Q
struts.configuration.xml.reload ,7;euV5X
Whether to reload the XML configuration or not "Mh}n-oju
是否加载xml配置(true,false) 9u>X,2gUR
jSw>z`'#H
struts.continuations.package !T.yv5ge'
The package containing actions that use Rife continuations zANsv9R~
含有actions的完整连续的package名称 {( Ba
e!w#{</8Q
struts.custom.i18n.resources i<!1s%i}
Location of additional localization properties files to load T/tC X[}
加载附加的国际化属性文件(不包含.properties后缀) C#.27ah
G4%dah 5
struts.custom.properties }x:}9iphF
Location of additional configuration properties files to load ~n%]u! 6
加载附加的配置文件的位置 Q
822 #
4{%-r[C9k
AIw~@*T
struts.devMode |5*:ThC[
Whether Struts is in development mode or not <W/YC2b
是否为struts开发模式 # (-?i\i
[ub)`-6 u
struts.dispatcher.parametersWorkaround 58]t iP"
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [jTZxH<
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ooj^Z%9P
0ej*0"Mq
struts.enable.DynamicMethodInvocation G;]zX<2^3
Allows one to disable dynamic method invocation from the URL 8<
"lEL|
允许动态方法调用 mzcxq:uZ5
7=HpEc
struts.freemarker.manager.classname BX2}ar
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class FLQ^J3A,I
org.apache.struts2.views.freemarker.FreemarkerManager接口名 8O0]hz
NZ-57Ji
struts.i18n.encoding } A}Vd:#
The encoding to use for localization messages Efu/v<
国际化信息内码 |9mGX9q
C^!~WFy
struts.i18n.reload ;W3c|5CE
Whether the localization messages should automatically be reloaded 6\x/Z=}L
是否国际化信息自动加载 oP:/%
a lyA#zao|
struts.locale &&Otj-n5
The default locale for the Struts application ki8Jl}dr
默认的国际化地区信息 B~%SB/eu
9w-;d=(Q
struts.mapper.class MX7$f (Hy
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VVc-Dx
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "Jg*
/F
d V3R)
struts.multipart.maxSize _!k\~4U
The maximize size of a multipart request (file upload) )_K:A(V>
multipart请求信息的最大尺寸(文件上传用) X`7O%HiX/`
Hm_&``='
struts.multipart.parser R".*dC,0'B
The org.apache.struts2.dispatcher.multipart. [k=LX+w@
MultiPartRequest parser implementation for a multipart request (file upload) ,9W!cD+0
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .19_EQ>+
=!=DISPo
D;Y2yc[v
struts.multipart.saveDir :-j/Y'H_
The directory to use for storing uploaded files 4qyPjAG
设置存储上传文件的目录夹 L]=LY
Z
)X(
struts.objectFactory [L?WM>]%
The com.opensymphony.xwork2.ObjectFactory implementation class V QbKrnX
com.opensymphony.xwork2.ObjectFactory接口(spring) /Mw0<#
oMKG M@V
struts.objectFactory.spring.autoWire .FvIT]k-
Whether Spring should autoWire or not IDp2#qg_
是否自动绑定Spring LF!S`|FF
MYUL y2)
struts.objectFactory.spring.useClassCache muKjeg'b
Whether Spring should use its class cache or not z*WQ=l2
是否spring应该使用自身的cache $ ~/x;z:
n0w0]dJ&lc
struts.objectTypeDeterminer 2l +t-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class sfC/Q"Zs
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #ihHAiy3
T>m|C}yy
struts.serve.static.browserCache `Wu.wx
If static content served by the Struts filter should set browser caching header properties or not JgB"N/Oz
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <'O|7.
^^
]GzfU'fOn|
struts.serve.static #wF6Wx iG
Whether the Struts filter should serve static content or not d4LH`@SUZ-
是否struts过滤器应该提供静态内容 n&FRjq9y
-V:7j8
struts.tag.altSyntax 2MDY nMy
Whether to use the alterative syntax for the tags or not A~8-{F 31
是否可以用替代的语法替代tags
!-8y;,P
0~cbB
struts.ui.templateDir }QJ6"s
The directory containing UI templates sDXQ{*6a
UI templates的目录夹 D#11
N^-K
B{NGrC`5)
struts.ui.theme 78E<_UgcB
The default UI template theme }nWW`:t kx
默认的UI template主题 ?8$h%Ov-
@eRv`O"
struts.url.http.port |@dY[VK>
The HTTP port used by Struts URLs $WbfRyXi7'
设置http端口 %Pk@`t (3
}M${ _D
struts.url.https.port l8d }g
The HTTPS port used by Struts URLs @*JS[w$1
设置https端口 7/FF}d
:qvaI,
struts.url.includeParams + $/mh
The default includeParams method to generate Struts URLs zl$z> z )
在url中产生 默认的includeParams 0y=lf+xA*
SoB6F9
34qfP{9!N
struts.velocity.configfile !p3vnOX6
The Velocity configuration file path fUB+9G(Bx
velocity配置文件路径 19i [DR
\`YV)"y" ~
struts.velocity.contexts fCi1JH;
List of Velocity context names 0vcFX)]yW
velocity的context列表 Wp//SV
\PK}4<x}
u=sZFr@m[
struts.velocity.manager.classname E1>zKENN;
org.apache.struts2.views.velocity.VelocityManager implementation class 4z,n:>oH
org.apache.struts2.views.velocity.VelocityManager接口名 +qmV|$rmM
j.UO>1{7
struts.velocity.toolboxlocation YJBf~0r
The location of the Velocity toolbox mA6Nmq%{ F
velocity工具盒的位置 incUa;
struts.xslt.nocache 01o,9_|FL
Whether or not XSLT templates should not be cached s6_[H
是否XSLT模版应该被缓存 {_X&{dZLX