struts2的struts.properties配置文件详解 0V#t ;`Q3
w.Vynb
struts.action.extension 5>@uEebkv]
The URL extension to use to determine if the request is meant for a Struts action LA?\~rh!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %1@<),
/hM>dkwu
struts.configuration pu:D/2R2;k
The org.apache.struts2.config.Configuration implementation class U>+~.|'V9
org.apache.struts2.config.Configuration接口名 DqMK[N,0
h3lDDyu
struts.configuration.files Doh|G:P]#
A list of configuration files automatically loaded by Struts D;I`k
L
struts自动加载的一个配置文件列表 w~U`+2a3
BR^J y<^F'
struts.configuration.xml.reload bQy%$7UmX,
Whether to reload the XML configuration or not J4}\V$ysN
是否加载xml配置(true,false) _0*>I1F~
[/Z'OV"tU
struts.continuations.package Kyp0SZp[
The package containing actions that use Rife continuations kNj3!u$
含有actions的完整连续的package名称 0Mu8ZVI{
-z0{\=@#m
struts.custom.i18n.resources )6Q0f
Location of additional localization properties files to load ~{vdP=/WP
加载附加的国际化属性文件(不包含.properties后缀) +w.Kv
;
E)O|16f|>
struts.custom.properties GWInN8.5
Location of additional configuration properties files to load R2O.}!'
加载附加的配置文件的位置 UB$`;'|i
NceB'YG|
B^_Chj*m
struts.devMode ),]2`w&k
Whether Struts is in development mode or not 2ly,l[p8
是否为struts开发模式 ~BvY8\@B
LBkc s4+
struts.dispatcher.parametersWorkaround R==cz^#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic vzcBo%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \`/E
!ub
aGe(vQPi9
struts.enable.DynamicMethodInvocation P$3=i`X!nw
Allows one to disable dynamic method invocation from the URL E ;!<Z4
允许动态方法调用 nF<y7XkO
aw/7Z`
struts.freemarker.manager.classname eky(;%Sz
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bqrJP3
org.apache.struts2.views.freemarker.FreemarkerManager接口名 rj,K`HD
V(2,\+ t
struts.i18n.encoding Q+d.%qhc
The encoding to use for localization messages lU$4NUwM
国际化信息内码 < m enABN4
Q)Iv_N/
struts.i18n.reload hDljY!P>p
Whether the localization messages should automatically be reloaded )[^y
t0%
是否国际化信息自动加载 ;tp]^iB#
#*$_S@
struts.locale nuSN)}b<Q
The default locale for the Struts application JOrELrMx
默认的国际化地区信息 #Pu@Wx
z!s.9
struts.mapper.class "Ap$Jl B
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class KQ4kZN
org.apache.struts2.dispatcher.mapper.ActionMapper接口 oWp}O?
6F*-qb3
struts.multipart.maxSize Fm<jg}>MAd
The maximize size of a multipart request (file upload) y9C;T(oi;
multipart请求信息的最大尺寸(文件上传用) h
`\$sT!Z
_[OF"X2
struts.multipart.parser UzgA26;
The org.apache.struts2.dispatcher.multipart. a)!![X?\
MultiPartRequest parser implementation for a multipart request (file upload) /l,+oG%\
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fvcW'T}r
xF(
bS+(o
s\'y-UITi1
struts.multipart.saveDir +yf(Rs)!
The directory to use for storing uploaded files wMb)6YZs
设置存储上传文件的目录夹 C.J`8@a]?
b7B+eN ?z
struts.objectFactory Rx6l|'e
The com.opensymphony.xwork2.ObjectFactory implementation class 3CR@'
qG-
com.opensymphony.xwork2.ObjectFactory接口(spring) )0#j\B
Ih.rC>)rx
struts.objectFactory.spring.autoWire Deg!<[Nw
Whether Spring should autoWire or not q$r&4s)To
是否自动绑定Spring /g_9m
EL^8zyg%%
struts.objectFactory.spring.useClassCache NO-k-
Whether Spring should use its class cache or not U|gpCy
是否spring应该使用自身的cache 5Sr4-F+@%
CRH{E}>
struts.objectTypeDeterminer ]N*L7AVl
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s\[LpLt
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :e*DTVv8
XC[]E)8
struts.serve.static.browserCache &
_; y.!
If static content served by the Struts filter should set browser caching header properties or not qgoJ4Z*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %2f//SZ:
%$@1FlqX;
struts.serve.static |%
z^N*
Whether the Struts filter should serve static content or not w|IjQ1{
是否struts过滤器应该提供静态内容 @q K]JK
.it#`Yz;
struts.tag.altSyntax Nln`fE/Ht
Whether to use the alterative syntax for the tags or not @@I7$*
是否可以用替代的语法替代tags ,CP5~4u
!8sgq{x((
struts.ui.templateDir Wf#VA;d
The directory containing UI templates K]c4"JJ
UI templates的目录夹 lVz9k
{C3U6kKs;R
struts.ui.theme
bu>qsU3
The default UI template theme iPq &Y*
默认的UI template主题 : [q0S@
^W~p..DF
struts.url.http.port 1B|8ZmFJj
The HTTP port used by Struts URLs Mp~y0e
设置http端口 G8nrdN-9
*z'8j
struts.url.https.port -w1@!Sdd
The HTTPS port used by Struts URLs #] CFA9z
设置https端口 k|xtrW`qo;
sIy
struts.url.includeParams ~*M$O &
The default includeParams method to generate Struts URLs ~. YWV
在url中产生 默认的includeParams hn.bau[
5c5oSy+
!M7<BD};
struts.velocity.configfile mMSh2B
The Velocity configuration file path S${Zzt"
velocity配置文件路径 OtJ\T/q,
)[L^Dmd,
struts.velocity.contexts ~gE:-
List of Velocity context names 'OkGReKt
velocity的context列表 8'Z:ydj^,
P?LlJ5hn
QzOkpewf
struts.velocity.manager.classname
7I=C+
org.apache.struts2.views.velocity.VelocityManager implementation class ?m7:if+y
org.apache.struts2.views.velocity.VelocityManager接口名 =-KMb`xT
H#i{?RM@l
struts.velocity.toolboxlocation vAb^]d
The location of the Velocity toolbox yF13Of^l./
velocity工具盒的位置 X(A.X:"
struts.xslt.nocache uR;gVO+QC
Whether or not XSLT templates should not be cached lDc-W =X=
是否XSLT模版应该被缓存 4dawg8K`9