struts2的struts.properties配置文件详解 hl2|Ec
5!jt^i]O
struts.action.extension &SPIu,
The URL extension to use to determine if the request is meant for a Struts action M
#%V%<
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 SQN{/")T
<~e*YrJ?-
struts.configuration JB!*{{
The org.apache.struts2.config.Configuration implementation class xXJzE|)1h!
org.apache.struts2.config.Configuration接口名 M>i *e
`W7;-
struts.configuration.files (l/i#
A list of configuration files automatically loaded by Struts }a%Wu 7D
struts自动加载的一个配置文件列表 .!'rI7Kz'i
Kr`.q:0GK
struts.configuration.xml.reload ca[*#xiJ
Whether to reload the XML configuration or not VeH%E.:
是否加载xml配置(true,false) .5tXwxad"
W k "_lJ
struts.continuations.package P<9T.l
The package containing actions that use Rife continuations )=5*iWe
含有actions的完整连续的package名称 8jiBLZkRf
5Gz~,_
struts.custom.i18n.resources a;(,$q3M
Location of additional localization properties files to load ^}kYJvqA
加载附加的国际化属性文件(不包含.properties后缀)
-:wV3D
@f-rS{
struts.custom.properties *48LQzc
Location of additional configuration properties files to load 1+l[P9?R[
加载附加的配置文件的位置 L l,nt
6K >(n
^plP1c:
struts.devMode R5 EC/@
Whether Struts is in development mode or not v4\
m9Pu4
是否为struts开发模式 EPM(hxCIQ
S-brV\v7
struts.dispatcher.parametersWorkaround :]* =f].
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o+\?E.%%g
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .SBN^fq
k;.<DN
struts.enable.DynamicMethodInvocation rWBgYh
Allows one to disable dynamic method invocation from the URL $<f+CtD4
允许动态方法调用 clr]gib
Z
eWstw7
struts.freemarker.manager.classname Ge24Lp;Y6
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class oJI+c+e"
org.apache.struts2.views.freemarker.FreemarkerManager接口名 W\e!rq
Nt[&rO3s
struts.i18n.encoding :k~ p=ko
The encoding to use for localization messages w!Z,3Yc)
国际化信息内码 /|<0,oz oJ
@2\UjEo~
struts.i18n.reload ">nFzg?Y
Whether the localization messages should automatically be reloaded 0JhUncx
是否国际化信息自动加载 If|i `,Iy
3W3d $
struts.locale `?T8NK
The default locale for the Struts application lPz5.(5'
默认的国际化地区信息 =.9tRq
6|1#Prj
struts.mapper.class ~SEIIq
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class eT8h:+k
org.apache.struts2.dispatcher.mapper.ActionMapper接口 , qhv(
*y W9-(
struts.multipart.maxSize +R31YR8C0
The maximize size of a multipart request (file upload) ?[lKft
multipart请求信息的最大尺寸(文件上传用) -AKbXkc~\
o7g6*hJz
struts.multipart.parser ?\a';@h
The org.apache.struts2.dispatcher.multipart. ,Nev7X[0
MultiPartRequest parser implementation for a multipart request (file upload) {1GIiP-U
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "~IGE3{
nm<S#i*
RY*s }f
struts.multipart.saveDir puGy`9eKv1
The directory to use for storing uploaded files G""=`@
设置存储上传文件的目录夹 iEMIzaR
'RCX6TKBnR
struts.objectFactory 3[To"You
The com.opensymphony.xwork2.ObjectFactory implementation class KYFkO~N
com.opensymphony.xwork2.ObjectFactory接口(spring) zrur-i$N+
P"c7h7
struts.objectFactory.spring.autoWire JI92Dc*o
Whether Spring should autoWire or not McU]U9:z
是否自动绑定Spring 8V:yOq10
0y#TGM|0D
struts.objectFactory.spring.useClassCache f=40_5a6
Whether Spring should use its class cache or not H, O_l%
是否spring应该使用自身的cache kC+dQ&@g{
v=+> ids
struts.objectTypeDeterminer *\[GfTL
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class OH~I+=}.
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m*TJ@gI*t
k12mxR/
struts.serve.static.browserCache PPNZ(j
If static content served by the Struts filter should set browser caching header properties or not 65pC#$F<x
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uvGFo)9q3
82z<Q*YP
struts.serve.static T<ekDhlr
Whether the Struts filter should serve static content or not ]b@:?DX8
是否struts过滤器应该提供静态内容 (( Wq
I44bm?[S
struts.tag.altSyntax Ea3 4x
Whether to use the alterative syntax for the tags or not qd?k#Gw&
是否可以用替代的语法替代tags %5?0+~
h&?tF~h
struts.ui.templateDir SyR[G*djl
The directory containing UI templates $RV'DQO
UI templates的目录夹 -ID!kZx
D,'@b+B[
struts.ui.theme CEb .?B
The default UI template theme O7T wM Yh
默认的UI template主题 &k {1N.
Yy8%vDdJO
struts.url.http.port )Y,>cg:z~
The HTTP port used by Struts URLs ^2um.`8
设置http端口 `LCxxpHi|
_6Fj&mw(u
struts.url.https.port }U7><I
The HTTPS port used by Struts URLs 8I=migaxP
设置https端口 |;P9S
1)wzSEV@
struts.url.includeParams oNr~8CA`
The default includeParams method to generate Struts URLs \~ h7
在url中产生 默认的includeParams _}wy|T&7k&
4 5\%2un
_zj}i1!E"
struts.velocity.configfile LP:C9Ol\
The Velocity configuration file path BM]sW:-v
velocity配置文件路径 DvvjIYB~
> 9wEx[
struts.velocity.contexts KcX] g*wy
List of Velocity context names @~<M_63
velocity的context列表 cLe659 &
kVe_2oQ_>
uia-w^F e
struts.velocity.manager.classname &/A?*2
org.apache.struts2.views.velocity.VelocityManager implementation class %8yX6`lH
org.apache.struts2.views.velocity.VelocityManager接口名 P$i?%P~
|^E#cI
struts.velocity.toolboxlocation UGJ#
"9
The location of the Velocity toolbox q#N8IUN}4
velocity工具盒的位置 N!F ;!
struts.xslt.nocache t^qPQ;"=,
Whether or not XSLT templates should not be cached Af>Ho"i
是否XSLT模版应该被缓存 `$D2w|