struts2的struts.properties配置文件详解 0B]c`$"aD
]Om;bmwt
struts.action.extension )B9 /P>c
The URL extension to use to determine if the request is meant for a Struts action 5D <
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )eVn1U2*z.
M#.dF{%%
struts.configuration Ms=N+e$n
The org.apache.struts2.config.Configuration implementation class $YiG0GK<"
org.apache.struts2.config.Configuration接口名 )agrx76]3w
v:gdG|n"
struts.configuration.files (XNd]G
A list of configuration files automatically loaded by Struts (5l'?7
struts自动加载的一个配置文件列表 2@Zw#2|]
pM-mZ/?
struts.configuration.xml.reload 7P:/ (P
Whether to reload the XML configuration or not hiEosI
C
是否加载xml配置(true,false) r@c!M|m@
*pYawT
struts.continuations.package 0O?\0k;o
The package containing actions that use Rife continuations #('GGzL6c
含有actions的完整连续的package名称 C'6c,
e8 c.&j3m
struts.custom.i18n.resources 2Mu3]2>
Location of additional localization properties files to load 2i$_ ,[fi
加载附加的国际化属性文件(不包含.properties后缀) fC+tu>=
5Y>fVq{U?;
struts.custom.properties ;o?o92d
Location of additional configuration properties files to load i8!err._
加载附加的配置文件的位置 ETm:KbS
F8xu&Vk0:
RREl($$p
struts.devMode zbJ}@V
Whether Struts is in development mode or not T>irW(
是否为struts开发模式 w>4( hGO
i(4.7{*
struts.dispatcher.parametersWorkaround y/>Nx7C0=2
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic BKK@_B"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mGoNT
63'L58O
struts.enable.DynamicMethodInvocation 5R6QZVc
Allows one to disable dynamic method invocation from the URL NNBT.k3)
允许动态方法调用 nK`H;k
U45-R-
struts.freemarker.manager.classname Pf~0JNnc
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *G[` T%g
org.apache.struts2.views.freemarker.FreemarkerManager接口名 `_x#`%!#2
mr,GHx
struts.i18n.encoding +hcJ!$J7
The encoding to use for localization messages X([@}ren
国际化信息内码 75iudki
CdKs+x&tZ
struts.i18n.reload *,
R ~[g
Whether the localization messages should automatically be reloaded ]YY4{E(9d
是否国际化信息自动加载 uT
Y G/O
A:\_ \B%<
struts.locale 0zk054F'
The default locale for the Struts application H'I5LYsXO~
默认的国际化地区信息 hVdGxT]6
?lm<)y?I7+
struts.mapper.class CVZ4:p
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class jX,A.
org.apache.struts2.dispatcher.mapper.ActionMapper接口 c^R "g)gr
`(]mUW
struts.multipart.maxSize F.D6O[pZ
The maximize size of a multipart request (file upload) }OSf C~5P
multipart请求信息的最大尺寸(文件上传用) ppu<k N
[OFT!=.y &
struts.multipart.parser OqX+R4S
The org.apache.struts2.dispatcher.multipart. g`,(O
MultiPartRequest parser implementation for a multipart request (file upload) D=)qd@,K
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .UU)
'.e5Ku
+A%zFF3
struts.multipart.saveDir *7qa]i^]
The directory to use for storing uploaded files 3*R(&O6}
设置存储上传文件的目录夹 n65fT+;
d;a"rq@a)
struts.objectFactory 7o-}86x#
The com.opensymphony.xwork2.ObjectFactory implementation class %5;kNeD\Fq
com.opensymphony.xwork2.ObjectFactory接口(spring) Up>,~bs]
#+^l3hMK
struts.objectFactory.spring.autoWire qz 29f
Whether Spring should autoWire or not hDbZ62DDN
是否自动绑定Spring 1?r$Rx<R
|[!0ry*N%
struts.objectFactory.spring.useClassCache hP/uS%X
Whether Spring should use its class cache or not <JZa
是否spring应该使用自身的cache (CE2]Nv9")
.yb8<q s
struts.objectTypeDeterminer tfv@
)9
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fVq,?
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 XX*f
F|&mxsL
struts.serve.static.browserCache SNV;s,
If static content served by the Struts filter should set browser caching header properties or not mN#&NA
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kEg~yN
+PO& z!F
struts.serve.static %Jn5M(myC
Whether the Struts filter should serve static content or not "H{#ib_c_
是否struts过滤器应该提供静态内容 DE?@8k
'v@1_HHW\
struts.tag.altSyntax K=2j}IPe
Whether to use the alterative syntax for the tags or not & aF'IJC
是否可以用替代的语法替代tags 7wqD_Xr
,7e 2M@=
struts.ui.templateDir *oIKddZh
The directory containing UI templates +>v{#A_u
UI templates的目录夹 ]j(Ld\:L
^N~Jm&I
struts.ui.theme 6.4,Qae9E
The default UI template theme
T f^O(
默认的UI template主题 <zu)=W'R]
H{;8i7%
struts.url.http.port 9a.[>4}
The HTTP port used by Struts URLs ? oGmGKq
设置http端口 4_S%K&
zyI4E\
struts.url.https.port ~0 n9In%
The HTTPS port used by Struts URLs ,@2d4eg4
设置https端口 5xG/>fn
!Jo.Un7
struts.url.includeParams *Xd_=@L&B
The default includeParams method to generate Struts URLs O0"&wvR+5
在url中产生 默认的includeParams i)e)FhEY6
O11.wLNH
v aaZ
struts.velocity.configfile E9[8th,t
The Velocity configuration file path '?!2h'
velocity配置文件路径 ;"GI~p2~7
4U:+iumy2
struts.velocity.contexts >l5JwwG
List of Velocity context names z~a]dMs"(P
velocity的context列表 U0S}O(Ptr
z9KsSlS ^
d>7bwG+k
struts.velocity.manager.classname g:c
@
org.apache.struts2.views.velocity.VelocityManager implementation class i@d@~M7/
org.apache.struts2.views.velocity.VelocityManager接口名 hO:X\:G
e 3>k"
struts.velocity.toolboxlocation YuDNm}r[
The location of the Velocity toolbox ts0K"xmY\c
velocity工具盒的位置 RbNRBK!{
struts.xslt.nocache ]0:R^dHE
Whether or not XSLT templates should not be cached xE.=\UzJ
是否XSLT模版应该被缓存 S[M\com'