struts2的struts.properties配置文件详解 }}grJh>tGg
,X$S4>
struts.action.extension 76 =uk!#3{
The URL extension to use to determine if the request is meant for a Struts action LdWeI
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /;HytFP
3h0w8(k;
struts.configuration FD_0FMZ9,
The org.apache.struts2.config.Configuration implementation class Fhxg^
org.apache.struts2.config.Configuration接口名 ?{_dW=AQ1
[p4a\Qg0
struts.configuration.files }qV4]*+{
A list of configuration files automatically loaded by Struts o>U%3-+T^J
struts自动加载的一个配置文件列表 w^R5/#F_r
s_`wLQ7e
struts.configuration.xml.reload 7jts;H=
Whether to reload the XML configuration or not An]*J|nFIY
是否加载xml配置(true,false) W'gCFX
pPQ]#v
struts.continuations.package 'O\K Wj{
The package containing actions that use Rife continuations Dvd.Q/f
含有actions的完整连续的package名称 ^Po\:x%o
1%EY!14G+
struts.custom.i18n.resources Ks7s2 vK^
Location of additional localization properties files to load >Cd%tIie*
加载附加的国际化属性文件(不包含.properties后缀) ?A62VV51CN
%*}JDx#@
struts.custom.properties dUjdQ
Location of additional configuration properties files to load 0pkU1t~9
加载附加的配置文件的位置 %5F=!(w
9=3V}]^M
D\*raQ`n
struts.devMode ;C{2*0"H|
Whether Struts is in development mode or not _Seiwk&
是否为struts开发模式 i9.52
[&+wW
struts.dispatcher.parametersWorkaround gN mp'Lm
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q~-g tEv+&
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) JvHJ*E
r T*:1
struts.enable.DynamicMethodInvocation {_(;&\5
Allows one to disable dynamic method invocation from the URL b GwLfU
允许动态方法调用 NO* 1km[#
Atfon&^
struts.freemarker.manager.classname
ZfvFs
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lfj>]om$
org.apache.struts2.views.freemarker.FreemarkerManager接口名 \n<N>j@3
3j.f3~"
struts.i18n.encoding Y/@4|9!
The encoding to use for localization messages 4|++0=#D$
国际化信息内码 pOH_ CXw
Yj0Ss{Ep
struts.i18n.reload _|6{(
Whether the localization messages should automatically be reloaded j/^0q90QO
是否国际化信息自动加载 U8<GD|
b,318R8+G
struts.locale {mkYW-4Se
The default locale for the Struts application G3?8GTH
默认的国际化地区信息 X.T.^}=
:Z=A,G
struts.mapper.class ]Ff&zBJ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 39m#
org.apache.struts2.dispatcher.mapper.ActionMapper接口 TSuHY0.cp
0kC!v,
struts.multipart.maxSize \".3x
PkE
The maximize size of a multipart request (file upload) }B0V$
multipart请求信息的最大尺寸(文件上传用) KZDB \T
M>T#MDK\(
struts.multipart.parser q"]-CGAa
The org.apache.struts2.dispatcher.multipart. @~a52'\
MultiPartRequest parser implementation for a multipart request (file upload) c]xpp;% ]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;o8cfD .z
Wigm`A=,r
KUuwScb\
struts.multipart.saveDir ^(&:=r.PC
The directory to use for storing uploaded files 7i/?+|
设置存储上传文件的目录夹 KWN&nP
+
;J?!D x
struts.objectFactory UGR5ILf
The com.opensymphony.xwork2.ObjectFactory implementation class YHeB<v
com.opensymphony.xwork2.ObjectFactory接口(spring) |dXS+R1
5(DCq(\P*
struts.objectFactory.spring.autoWire n}?kQOg0/
Whether Spring should autoWire or not %A64 Y<K
是否自动绑定Spring qtgj"4,:`
O`Z>Oon?
struts.objectFactory.spring.useClassCache lYy0
Whether Spring should use its class cache or not Grw_SVa^
是否spring应该使用自身的cache KE(kR>OB]
$'[(
DwLS
struts.objectTypeDeterminer kv5D=0r
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $RF"m"
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LY^BkH'
,
:kCt=4%
struts.serve.static.browserCache c?z%z&
If static content served by the Struts filter should set browser caching header properties or not JDMaLo
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 St&XG>nWS
][0HJG{{g
struts.serve.static [!aHP?-
Whether the Struts filter should serve static content or not e=_*\`/CN
是否struts过滤器应该提供静态内容 z2,rnm)Q
(S(=W G
struts.tag.altSyntax 8I~ H1
Whether to use the alterative syntax for the tags or not Mb/R+:C`
是否可以用替代的语法替代tags (D~mmffY1
rfCoi>{<
struts.ui.templateDir NG b`f-:jw
The directory containing UI templates E2dSOZS:)%
UI templates的目录夹 i&?~QQP`
n287@Y4Ru
struts.ui.theme &f!!UZMt)
The default UI template theme ~[,E
i k
默认的UI template主题 Ie+z"&0
{~d4;ht1Y
struts.url.http.port I:Z38xz -[
The HTTP port used by Struts URLs geT<vh Z6
设置http端口 qP]Gl--q{
ozGK
-$
struts.url.https.port VT0I1KQx.
The HTTPS port used by Struts URLs tM!1oWH
设置https端口 I*}:C
w#"c5w~
struts.url.includeParams [%3{mAd
The default includeParams method to generate Struts URLs 'rd{fe_g!
在url中产生 默认的includeParams 0 J ANj
V:l; 2rW
r2H]n.MT
struts.velocity.configfile *Jp>)>
The Velocity configuration file path u#}zNz#C5
velocity配置文件路径 2>s:wABb /
Ou,B3kuQ+
struts.velocity.contexts &Cdd
List of Velocity context names 67f#Z&r2k
velocity的context列表 Ho\z^w+T`
v'Lckw@G4
f5`exfdHE
struts.velocity.manager.classname s<^UAdLnl
org.apache.struts2.views.velocity.VelocityManager implementation class lYq
R6^
org.apache.struts2.views.velocity.VelocityManager接口名 Lx(Y=
<hS >L1ZSr
struts.velocity.toolboxlocation P:CwC"z>sS
The location of the Velocity toolbox ^yBx.GrQc
velocity工具盒的位置 i%-c/ lop
struts.xslt.nocache "$m3xO
Whether or not XSLT templates should not be cached EP{y?+E2
是否XSLT模版应该被缓存 b/<n:*$