struts2的struts.properties配置文件详解 dHAI4Yf4U
?6m6 4{M
struts.action.extension *j`{ K
The URL extension to use to determine if the request is meant for a Struts action Fq-AvU
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ne~=^IRB
#RyX}t X,
struts.configuration O|Z5SSlk
The org.apache.struts2.config.Configuration implementation class t+2!"Jr
org.apache.struts2.config.Configuration接口名 R cz;|h8
&~6W!w
struts.configuration.files $_u9Y!
A list of configuration files automatically loaded by Struts ZQ0R3=52r
struts自动加载的一个配置文件列表 O%Mi`\W@
j9bn|p$DA
struts.configuration.xml.reload |k3^
eeLk
Whether to reload the XML configuration or not :*/'W5iM
是否加载xml配置(true,false) (b]r_|'
7e`ylnP!
struts.continuations.package 8
<~E;:
The package containing actions that use Rife continuations WZ3GI
l
含有actions的完整连续的package名称 i8kyYMPP
U^xz>:~
struts.custom.i18n.resources wcd1.$ n
Location of additional localization properties files to load !:N&tuJEv
加载附加的国际化属性文件(不包含.properties后缀) >7fNxQ
oaK&!$S]
struts.custom.properties k3w(KH@
Location of additional configuration properties files to load }kCaTI?@#
加载附加的配置文件的位置 j3J\%7^i
@u.%z# h"1
p1O[QQ|
struts.devMode Ag6^>xb^
Whether Struts is in development mode or not
OH*
是否为struts开发模式 ;:Yz7<>Y,
AMm)E
struts.dispatcher.parametersWorkaround XITh_S4fs=
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'on8r*
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q>E[)\+y
\QZ~w_
struts.enable.DynamicMethodInvocation B9&$sTAB
Allows one to disable dynamic method invocation from the URL y9#r
SA*
允许动态方法调用 .}O _5b(
UP})j.z
struts.freemarker.manager.classname >7[o=!^:4
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A%zX LV=3O
org.apache.struts2.views.freemarker.FreemarkerManager接口名 lo!.%PP|
RAh4#8]
struts.i18n.encoding 5g$]ou
The encoding to use for localization messages _!} L\E~
国际化信息内码 *?-,=%,z/
!=Hu?F p
struts.i18n.reload .wb[cCUQ
Whether the localization messages should automatically be reloaded wUj#ACqB
是否国际化信息自动加载 XuY#EJbZ
SdJGhU
struts.locale RdirEH*H
The default locale for the Struts application ;Sq n
w
默认的国际化地区信息 GjfPba4>
L2j7w006
struts.mapper.class ^_Ap?zn
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0[O ."9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?4^8C4
&6#>a"?"
struts.multipart.maxSize *MG*]\D
The maximize size of a multipart request (file upload) $ncJc
multipart请求信息的最大尺寸(文件上传用) [2 yxTK
NhgzU+)+
struts.multipart.parser :|V`QM
The org.apache.struts2.dispatcher.multipart. M(8Mj[>>Rj
MultiPartRequest parser implementation for a multipart request (file upload) :9O"?FE
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d`g)(*
dYn<L/#
?}tWI7KI
struts.multipart.saveDir eBs4:R_i
The directory to use for storing uploaded files :CR1Oy 9
设置存储上传文件的目录夹 r) SG!;X
\uUd *
struts.objectFactory VxKD>:3c
The com.opensymphony.xwork2.ObjectFactory implementation class ayR;|S
com.opensymphony.xwork2.ObjectFactory接口(spring) L#}HeOEi[
,+Bp>=pvs
struts.objectFactory.spring.autoWire f-BEfC,}'
Whether Spring should autoWire or not @|i
f^
是否自动绑定Spring >cV^f6fH
RY4b<i3
struts.objectFactory.spring.useClassCache 0]._|Ubn6)
Whether Spring should use its class cache or not M#?^uu'
是否spring应该使用自身的cache A$a>=U|Z8
mx ]a@tu
struts.objectTypeDeterminer 9td[^EB#(h
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nB+UxU@
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -<jd/ 5
@8;0p
struts.serve.static.browserCache "+@>!U
If static content served by the Struts filter should set browser caching header properties or not ?L'4*S]
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 IcDAl~uG
OZ9ud ]@\
struts.serve.static J: T
Whether the Struts filter should serve static content or not dPtQ
Sa
是否struts过滤器应该提供静态内容 ee7{5
)dMXn2O
struts.tag.altSyntax +kXj+2
Whether to use the alterative syntax for the tags or not VY#:IE:T
是否可以用替代的语法替代tags |rhCQ"H
OSDx
struts.ui.templateDir ^-Knx!z
The directory containing UI templates ]\8{z"
UI templates的目录夹 IdzrQP
B\ITXmd
struts.ui.theme *GMs>"C
The default UI template theme -j<g}IG
默认的UI template主题 yE80*C~d
>e4w8Svcy
struts.url.http.port GY[+HgT
The HTTP port used by Struts URLs <jnra4>
设置http端口 ;Bs^+R7
YdT-E
struts.url.https.port j. m(Z}
The HTTPS port used by Struts URLs HJh9<I
设置https端口 $:aKb#l)
>d{O1by=d9
struts.url.includeParams q7VpKfA:M
The default includeParams method to generate Struts URLs R'.YE;leBG
在url中产生 默认的includeParams _]Ei,Ua
yVP 1=pz_[
4 <&8`Q
struts.velocity.configfile `B4Px|3
The Velocity configuration file path G|"`kAa
velocity配置文件路径 Ijs"KAW
?
UhX`BGpM{
struts.velocity.contexts &7gE=E(M
List of Velocity context names ;?A?1q8*
velocity的context列表 /JOEnQ5X\!
<>&!+|#
ST^@7f_
struts.velocity.manager.classname f7Dx.-
org.apache.struts2.views.velocity.VelocityManager implementation class "E><:_,\
org.apache.struts2.views.velocity.VelocityManager接口名 L,QAE)S'a
3}}#'5D
struts.velocity.toolboxlocation x!<?/I)X
The location of the Velocity toolbox >;ucwLi
velocity工具盒的位置 j+p=ik
struts.xslt.nocache XP$ 1CWI
Whether or not XSLT templates should not be cached lk5}bnd5
是否XSLT模版应该被缓存 &;)6G1X1