struts2的struts.properties配置文件详解 }
f+hB
jW0aIS2O
struts.action.extension r:9H>4m
The URL extension to use to determine if the request is meant for a Struts action ]-tAgNzl%
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Cswa5l`af
@ )m9#F
struts.configuration jS'hs>Ot
The org.apache.struts2.config.Configuration implementation class FN29 5:Iuw
org.apache.struts2.config.Configuration接口名 P<s:dH"
(h>+ivf|
struts.configuration.files (]*!`(_b
A list of configuration files automatically loaded by Struts 2W q/_:
struts自动加载的一个配置文件列表 u}BN)%`B
k
ks
?S',
struts.configuration.xml.reload :j(D&?ao
Whether to reload the XML configuration or not eKek~U&
是否加载xml配置(true,false) "i/3m'<2
a#i%7mfn
struts.continuations.package ?*A"#0
The package containing actions that use Rife continuations O!.mc=Gx7
含有actions的完整连续的package名称 3:G94cp5
u@$pOLI
struts.custom.i18n.resources )0xEI
Location of additional localization properties files to load TM?7F2
加载附加的国际化属性文件(不包含.properties后缀) E?3$ *t
TM1J1GU
struts.custom.properties P'q ._U
Location of additional configuration properties files to load `8N],X
加载附加的配置文件的位置 *'hvYl/?>
nO7#m~
Rhil]|a/
struts.devMode NJTC+`Hm
Whether Struts is in development mode or not dI|`"jl#
是否为struts开发模式 vV+>JM6<K
+yYSp8>
struts.dispatcher.parametersWorkaround (y{nD~k
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >m&r,z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L}5IX)#gH
ht@s!5\LK
struts.enable.DynamicMethodInvocation 5,1q%
Allows one to disable dynamic method invocation from the URL .3*VkAs
允许动态方法调用 m1(cN%DBd
NK0hT,_
struts.freemarker.manager.classname bLpGrGJs
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?{M!syD<
org.apache.struts2.views.freemarker.FreemarkerManager接口名 9dXtugp|
a?QDf5Cq
struts.i18n.encoding 6
w:@i_2^
The encoding to use for localization messages jt8%
L[
国际化信息内码 C/je5
~'2im[f J
struts.i18n.reload Nd.Tda!Kg
Whether the localization messages should automatically be reloaded 1WMwTBHy+
是否国际化信息自动加载 s(Tgv
4yu ^cix(
struts.locale Q8r 7
The default locale for the Struts application |xQq+e}l<
默认的国际化地区信息 M`kR2NCi
,"!P{c
struts.mapper.class 6X.lncE@p
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *|DIG{
org.apache.struts2.dispatcher.mapper.ActionMapper接口 :g[G&Ds8
zOnQ656
struts.multipart.maxSize Ug|o($CY
The maximize size of a multipart request (file upload) C5jR||
multipart请求信息的最大尺寸(文件上传用) )wwQv2E
X[
o9^<
struts.multipart.parser "x$RTuWA9
The org.apache.struts2.dispatcher.multipart. Q9
*N/2+
MultiPartRequest parser implementation for a multipart request (file upload) 1@Zjv>jy[
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) wh<s#q`
]
x_WO_
Aa;s.:?
struts.multipart.saveDir d.3O1TXK
The directory to use for storing uploaded files 6hs2B5)+
设置存储上传文件的目录夹 j!H\hj/]
n/3gx4.g
struts.objectFactory t"@:a
Y"
The com.opensymphony.xwork2.ObjectFactory implementation class _,M:"3;Z
com.opensymphony.xwork2.ObjectFactory接口(spring) #j{!&4M
L('G1J}
struts.objectFactory.spring.autoWire ,~_)Cf#CB
Whether Spring should autoWire or not F+@E6I'g
是否自动绑定Spring a+CHrnU\;
$*{$90Q
struts.objectFactory.spring.useClassCache i-EFq@xl
Whether Spring should use its class cache or not c=T^)~$$
是否spring应该使用自身的cache o(/(`/
3e g<)
struts.objectTypeDeterminer $I7/FZP
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3T3p[q4
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 YJ`[$0mam
wZECG-jr/
struts.serve.static.browserCache t;@VsQ8
If static content served by the Struts filter should set browser caching header properties or not Hop$w
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <(Wa8PY2(
<M1XG7_I
struts.serve.static g&*pk5V>
Whether the Struts filter should serve static content or not X]Emz"
是否struts过滤器应该提供静态内容 ZL`G<Mo;.
ul e]eRAG
struts.tag.altSyntax F%Lniv/N
Whether to use the alterative syntax for the tags or not Ha\q}~_
是否可以用替代的语法替代tags _F *("
o
}Vpr7_
struts.ui.templateDir xi=qap=S^9
The directory containing UI templates O\T
UI templates的目录夹 \"qXlTQ1_9
$+<X 1
struts.ui.theme jG0{>P#+
The default UI template theme +_?;%PKkuF
默认的UI template主题 FV/X&u8~
N2VF_[l
struts.url.http.port +OF(CcA^
The HTTP port used by Struts URLs zJ#e3o .
设置http端口 7"r7F#D=G
EO,;^RtB
struts.url.https.port A`7uw|uO$
The HTTPS port used by Struts URLs 'r%`(Z{~
设置https端口 daaEN(
QY2!.a^q
struts.url.includeParams sa`7_KB
The default includeParams method to generate Struts URLs $.}fL;BzVz
在url中产生 默认的includeParams ih?_ fW
+0=u]
EvMhNq~y5
struts.velocity.configfile Oah}7!a)
The Velocity configuration file path S zOB{
velocity配置文件路径 W Io^=?%
AjaG.fa]k
struts.velocity.contexts aI|<t^X
List of Velocity context names J!
>HT'M
velocity的context列表 )}?'1ciHI
^6 +P&MxM
MjG=6.J|`
struts.velocity.manager.classname Y$EqBN
org.apache.struts2.views.velocity.VelocityManager implementation class LS?hb)7
org.apache.struts2.views.velocity.VelocityManager接口名 `"M=Z Vk
A==P?,RG
struts.velocity.toolboxlocation >#R<