struts2的struts.properties配置文件详解 w2tkJcQ3
vaZ?>94
struts.action.extension H{;8i7%
The URL extension to use to determine if the request is meant for a Struts action _j<,qi
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,qlFk|A|
tWdP5vfp
struts.configuration QpifO
The org.apache.struts2.config.Configuration implementation class 2K'}Vm+
org.apache.struts2.config.Configuration接口名 ^[zF IO
Pq(
)2B
struts.configuration.files S[uHPYhlA
A list of configuration files automatically loaded by Struts m$$98N
struts自动加载的一个配置文件列表 ix}*whW=U
K9Pw10g'
struts.configuration.xml.reload t{/
EN)J
Whether to reload the XML configuration or not 14\!FCe)!
是否加载xml配置(true,false) o-t!z'\lO
yDw^xGws
struts.continuations.package D%.<}vG
The package containing actions that use Rife continuations E9[8th,t
含有actions的完整连续的package名称 '?!2h'
H
%PIE1_
struts.custom.i18n.resources Q_a%$a.rV
Location of additional localization properties files to load Y'%_--
加载附加的国际化属性文件(不包含.properties后缀) ^F1zkIE
mH3{<^Z6
struts.custom.properties >JhIRf
Location of additional configuration properties files to load d>7bwG+k
加载附加的配置文件的位置 g:c
@
Th*mm3D6
%n#^#:
struts.devMode jfrUOl'l
Whether Struts is in development mode or not 'w7{8^Z2
是否为struts开发模式 {EupB?
8|,-P=%t
struts.dispatcher.parametersWorkaround G,i%:my7
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S[M\com'
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DSHpM/7
("BFI
struts.enable.DynamicMethodInvocation x]U (EX`t$
Allows one to disable dynamic method invocation from the URL kLqFh<
允许动态方法调用 Ljxn}):[
Sq==)$G
struts.freemarker.manager.classname HM1y$ej
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class yQ8H-a.
org.apache.struts2.views.freemarker.FreemarkerManager接口名 k
.l,>s`!
@.iOFY
struts.i18n.encoding >heih%Ar0J
The encoding to use for localization messages z*>CP
国际化信息内码 cWM|COXL+
!ZV#~t:)
struts.i18n.reload O"9f^y*
Whether the localization messages should automatically be reloaded Z_Ma|V?6
是否国际化信息自动加载 +e"}"]n
9Au+mIN
struts.locale i]LK,'
The default locale for the Struts application \9k{"4jX\
默认的国际化地区信息 Xl*-A|:j
|qNrj~n@
struts.mapper.class LGCL*Qbsg
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @kwD$%*0
org.apache.struts2.dispatcher.mapper.ActionMapper接口 7"JU)@ U]
U>x2'B v
struts.multipart.maxSize .]H]H *wC
The maximize size of a multipart request (file upload) hOMFDfhU
multipart请求信息的最大尺寸(文件上传用) o-Idr{
|/lIasI
struts.multipart.parser HNuwq\w
The org.apache.struts2.dispatcher.multipart. J0p,P.G
MultiPartRequest parser implementation for a multipart request (file upload) +;[`fSi
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j)IK
n7q-)Dv_U
L}a3!33)C
struts.multipart.saveDir IL:"]`f*
The directory to use for storing uploaded files A1ebXXD)
设置存储上传文件的目录夹 \a]\jZb
D+o.9I/{
struts.objectFactory O\KAvoQ%s
The com.opensymphony.xwork2.ObjectFactory implementation class c)6Y.[).
com.opensymphony.xwork2.ObjectFactory接口(spring) q%:Jmi>
pmW=l/6+V3
struts.objectFactory.spring.autoWire Nyqm0C6m^
Whether Spring should autoWire or not Dfhs@ z
是否自动绑定Spring fZ g*@RR
$=m17GD
struts.objectFactory.spring.useClassCache RLHe;-*b]I
Whether Spring should use its class cache or not IfXLnD^||
是否spring应该使用自身的cache fp![Pbms.
dju&Ku
struts.objectTypeDeterminer {M~!?#<K
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8:xQPd?3
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o"1us75P
}lb.3fqiA
struts.serve.static.browserCache #Aan v
If static content served by the Struts filter should set browser caching header properties or not 0~1P&Qs<
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 VDmd+bvJV
c\b>4 &n
struts.serve.static !Z'm@,+
Whether the Struts filter should serve static content or not +li^0+3-'
是否struts过滤器应该提供静态内容 (
L6`_)
:A{-^qd(
struts.tag.altSyntax !yI)3;$*
Whether to use the alterative syntax for the tags or not TQ2Tt"
是否可以用替代的语法替代tags 8c|IGC
\%Smp2K
struts.ui.templateDir M{4_BQ4$
The directory containing UI templates G<dXJ ]\\
UI templates的目录夹 #dfW1@m
er#=xqUY
struts.ui.theme X0$_KPn
The default UI template theme Go67VqJr
默认的UI template主题 TnaIRJ\B
aBC[(}Pb]
struts.url.http.port Fszk?0T
The HTTP port used by Struts URLs B&$89]gs|
设置http端口 ~3YNHm6V
LGMFv
struts.url.https.port fIcv}Y
The HTTPS port used by Struts URLs E0pQRGPA
设置https端口 t]o gn(
l&A`
struts.url.includeParams :gVjBF2
The default includeParams method to generate Struts URLs (os7Q?
在url中产生 默认的includeParams O9y Q9sl
dCK-"#T!
IyuT=A~Ki
struts.velocity.configfile uR%H"f
The Velocity configuration file path <FK><aA_i*
velocity配置文件路径 W%W.
+f
QaO`:wJj
struts.velocity.contexts DRIv<=Bt
List of Velocity context names R`&ioRWj
velocity的context列表 J?<L8;$s7
u~kwNN9t3
p{J_d,JH
struts.velocity.manager.classname E)E!
org.apache.struts2.views.velocity.VelocityManager implementation class mC7Y *
org.apache.struts2.views.velocity.VelocityManager接口名 Z%R%D*f@y
<<1oc{i
struts.velocity.toolboxlocation =KZ4:d5
The location of the Velocity toolbox Vel;t<1
velocity工具盒的位置 u@EM,o
struts.xslt.nocache {EUH#':
Whether or not XSLT templates should not be cached IXN4?=)I
是否XSLT模版应该被缓存 M5V1j(URE