struts2的struts.properties配置文件详解 f= l*+QY8f
YiPp#0T[Gx
struts.action.extension {v}jV{'^um
The URL extension to use to determine if the request is meant for a Struts action BXo9s~5Q
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;^:$O6J7T~
_i{4 4zE
struts.configuration t~"DQqE
The org.apache.struts2.config.Configuration implementation class U9p^?\-=
org.apache.struts2.config.Configuration接口名 hKW!kA=gZ
pvJPMx
struts.configuration.files 6WnGP>tc.
A list of configuration files automatically loaded by Struts yw)Ztg)
struts自动加载的一个配置文件列表 ;M Z@2CO
)z?Kq0
struts.configuration.xml.reload ;]^JUmxU[d
Whether to reload the XML configuration or not >w=xGb7
是否加载xml配置(true,false) C\dlQQ
rfNt
struts.continuations.package
vmXY}Ul
The package containing actions that use Rife continuations &vp0zYd+v
含有actions的完整连续的package名称 ~0>{PD$@
o<-+y\J8K
struts.custom.i18n.resources 0Ti>PR5M
Location of additional localization properties files to load +C !A@
加载附加的国际化属性文件(不包含.properties后缀) i@ avm7
;"/ "
struts.custom.properties XP-4=0 zd
Location of additional configuration properties files to load wfrWpz=FO
加载附加的配置文件的位置 2tqO%8`_
M^^u{);q
z[wk-a+w
struts.devMode
8Cr?0Z
Whether Struts is in development mode or not vv,(ta@t2
是否为struts开发模式 6gfdXVN5
(7rG~d1iS
struts.dispatcher.parametersWorkaround {9Op{bZ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <!vAqqljt
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =>CrZ23B"
^$y_~z3o#7
struts.enable.DynamicMethodInvocation Ucnit^,
Allows one to disable dynamic method invocation from the URL 7M1*SC
允许动态方法调用 Pne[>}_l/
r8M/E
lbk
struts.freemarker.manager.classname |7I.DBjR;
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class r(yb%p+
org.apache.struts2.views.freemarker.FreemarkerManager接口名 STmCj
!lF|90=
struts.i18n.encoding .0q %A1H
The encoding to use for localization messages mYk5f_}
国际化信息内码 U9xFQ=$2
<u"#Jw/VP
struts.i18n.reload |[TH
~o
Whether the localization messages should automatically be reloaded 6P;1I+5m{q
是否国际化信息自动加载 XI,F^K
b`K~l'8
struts.locale P"u* bqk
The default locale for the Struts application JCZJ\f*EZ
默认的国际化地区信息 p$@=N6)I.k
6#5@d^a
struts.mapper.class [:!#F7O-
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |P2GL3NR
org.apache.struts2.dispatcher.mapper.ActionMapper接口 r/L3j0
b\?#O}
struts.multipart.maxSize $(}kau
The maximize size of a multipart request (file upload) (w% hz']
multipart请求信息的最大尺寸(文件上传用) #
dxlU/*
&^9>h/-XT
struts.multipart.parser cVn7jxf
The org.apache.struts2.dispatcher.multipart. W9V%Xc`LQ
MultiPartRequest parser implementation for a multipart request (file upload) Li=l/
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) e= "/oo
{M E|7TS=
bTHa;* `
struts.multipart.saveDir aM.l+DP
The directory to use for storing uploaded files qg6Hk:^r
设置存储上传文件的目录夹 XW]|Mv[M
uD:O[H-x
struts.objectFactory HA"dw2|
The com.opensymphony.xwork2.ObjectFactory implementation class ~rY<y%K
com.opensymphony.xwork2.ObjectFactory接口(spring)
~5}b$qL#`
+I\bs.84
struts.objectFactory.spring.autoWire W.:kE|a.g
Whether Spring should autoWire or not i$:CGUb
是否自动绑定Spring ZVIBmx
.#WF'
struts.objectFactory.spring.useClassCache T*h+"TmE
Whether Spring should use its class cache or not 6x/ X8zu
是否spring应该使用自身的cache A7_*zR@
b<.+WkO
struts.objectTypeDeterminer |Be.r{l
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _TQt!Re`,
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;co{bk|rj
a/)TJv
struts.serve.static.browserCache ?QVD)JI*k
If static content served by the Struts filter should set browser caching header properties or not o~>p=5t
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {/0,lic
nI_Zk.R
struts.serve.static )cs
y^-qw
Whether the Struts filter should serve static content or not <"[}8
是否struts过滤器应该提供静态内容 ha8do^x
^<|If:|
struts.tag.altSyntax \HK#d1>ox
Whether to use the alterative syntax for the tags or not )If[pw@j
是否可以用替代的语法替代tags s:]rL&|
@fE^w^K7
struts.ui.templateDir [Q 2t,tQx
The directory containing UI templates *.nqQhW
UI templates的目录夹 @MB;Ez
v
(J^
Tss
struts.ui.theme =$`DBLX
The default UI template theme $yFur[97C
默认的UI template主题 /{kyjf[o&*
%] #;
~I%
struts.url.http.port -ZyFUGd%
The HTTP port used by Struts URLs h0^V!.-5
设置http端口 x6)
2Vu|uZd
struts.url.https.port *!s4#|h
The HTTPS port used by Struts URLs +j@|D@z
设置https端口 fnmZJJ,Q
BEI/OGp
struts.url.includeParams ReK@~#hLY
The default includeParams method to generate Struts URLs ZXUe4@qfl
在url中产生 默认的includeParams %ri4nKGS
J<`RlDI
-dvDAs{X
struts.velocity.configfile Y\%}VD2k
The Velocity configuration file path l[fNftT-
velocity配置文件路径 rf`Br\g8
$&e(V6A@
struts.velocity.contexts =V,'f
List of Velocity context names } 1XLe
velocity的context列表 Txfb-f!mv\
3x=F
,F-tvSc\Q
struts.velocity.manager.classname ?D\%ZXo
org.apache.struts2.views.velocity.VelocityManager implementation class =6W:O
org.apache.struts2.views.velocity.VelocityManager接口名 zPw
R1>gL
{!/y@/NK2
struts.velocity.toolboxlocation O\D({>
The location of the Velocity toolbox eLC&f}
velocity工具盒的位置 G1nW{vce
struts.xslt.nocache y\S7oD(OR
Whether or not XSLT templates should not be cached vSYKe
是否XSLT模版应该被缓存 eFSC^