struts2的struts.properties配置文件详解 uuYH6bw*d
8@yc}~8 *
struts.action.extension $Cd ;0gdv
The URL extension to use to determine if the request is meant for a Struts action P^3m:bE]
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 QeeC2
R``VQ
struts.configuration 6~h1iY_~
The org.apache.struts2.config.Configuration implementation class Cxk$"_
org.apache.struts2.config.Configuration接口名 "Dl9<EZ
Fy@#r+PgWp
struts.configuration.files `x$}~rP&)!
A list of configuration files automatically loaded by Struts @y0bU*v7
struts自动加载的一个配置文件列表 +yb$[E*
Dg>'5`&
struts.configuration.xml.reload R^yZG{?t
Whether to reload the XML configuration or not 8jjk?PUD8
是否加载xml配置(true,false) FK@ f'
Uty(sDtu
struts.continuations.package vbA7I<;
The package containing actions that use Rife continuations p~q_0Pg%
含有actions的完整连续的package名称 r($_>TS&"
Qw<kX*fxrI
struts.custom.i18n.resources ?$J7%I@
Location of additional localization properties files to load "T{~,'T
加载附加的国际化属性文件(不包含.properties后缀) &@W4^-9
\'??
struts.custom.properties rX!+@>4_L
Location of additional configuration properties files to load t}XB|h
加载附加的配置文件的位置 ]~\SR0
yxC Ml.
,dZ#,<
struts.devMode nI*(a:
Whether Struts is in development mode or not 20/P M9
是否为struts开发模式 c3zT(FgO>N
qX
p,d
struts.dispatcher.parametersWorkaround Fp5NRM*-!
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic rKzv8d
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S< EB&P
EtR@sJ<
struts.enable.DynamicMethodInvocation ^p"4)6p-W
Allows one to disable dynamic method invocation from the URL
1o|0x\ q
允许动态方法调用 hsHVX[<5`
Siz!/O!'
struts.freemarker.manager.classname foFg((tS
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Y( 1L>4
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y8J;+h9
,5eH2W
struts.i18n.encoding 1H&?UP4=(
The encoding to use for localization messages V@#*``M,3
国际化信息内码
NVO9XK
IqhICC1V-
struts.i18n.reload nr<WO~Xw~
Whether the localization messages should automatically be reloaded t+=1 2{9;f
是否国际化信息自动加载 y:g7'+c
jiA5oX^g
struts.locale ^MW\t4pZ
The default locale for the Struts application bK03S Vx
默认的国际化地区信息 1u"R=D9p,=
CB*`
struts.mapper.class Y )u_nn'[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 93Mdp9v+i
org.apache.struts2.dispatcher.mapper.ActionMapper接口 '2|1%NSW9
!lQ#sL`
struts.multipart.maxSize My]+?.Ru
The maximize size of a multipart request (file upload) ?%cn'=>ZI
multipart请求信息的最大尺寸(文件上传用) Lnh':7FQJx
I@3Q=14k%
struts.multipart.parser fKL'/?LD]
The org.apache.struts2.dispatcher.multipart. hAV2F#
MultiPartRequest parser implementation for a multipart request (file upload) X'V+^u@W
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,U6*kvHS6
/]ku$.mr\
-Wl)Lez@
struts.multipart.saveDir 98ca[.ui
The directory to use for storing uploaded files H|PrsGW
设置存储上传文件的目录夹 0zeUP{MQ
wrH7 pd
struts.objectFactory 9 '2=
The com.opensymphony.xwork2.ObjectFactory implementation class wqJ*%
com.opensymphony.xwork2.ObjectFactory接口(spring) w) =eMdj\o
n_<mPU
struts.objectFactory.spring.autoWire 7d3'CQQ4
Whether Spring should autoWire or not HzP.aw4
是否自动绑定Spring [X;>*-
@4;HC=~
struts.objectFactory.spring.useClassCache NNwc!x)*
Whether Spring should use its class cache or not LWD.
是否spring应该使用自身的cache WI,40&<
.|T2\M
struts.objectTypeDeterminer >HE,'
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class HDyQzCG,
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @Ppo &>
j._G7z/LJ
struts.serve.static.browserCache |kId8WtA
If static content served by the Struts filter should set browser caching header properties or not -Bj.hx*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 LFCTr/,
R"NGJu9
struts.serve.static /
>%L[RJ4
Whether the Struts filter should serve static content or not ,,S9$@R
是否struts过滤器应该提供静态内容 dY1J<L}")
/v5qyR7an
struts.tag.altSyntax Z,3 CC \
Whether to use the alterative syntax for the tags or not WS5A Y @(~
是否可以用替代的语法替代tags ~NxEc8Y
x7f:F.
struts.ui.templateDir :JR<SFjm
The directory containing UI templates 6{Ks`Af
UI templates的目录夹 5)mVy?Z
P2Onkl
struts.ui.theme UIn^_}jF`
The default UI template theme 8zAg;b[
默认的UI template主题 S9J5(lYv~N
Y:wF5pp;
struts.url.http.port )i @1XH"D
The HTTP port used by Struts URLs 9/G!0uE
设置http端口 tR<L`?4
prUHjS
struts.url.https.port Z9xR
The HTTPS port used by Struts URLs HM):"
设置https端口 P])L8zK
JPsSw
struts.url.includeParams m`c#:s'_
The default includeParams method to generate Struts URLs l]$40 j
在url中产生 默认的includeParams vb
%T7
WV2~(/hX&
Mm.Ql
struts.velocity.configfile b~j~
The Velocity configuration file path k Q~ %=pn
velocity配置文件路径 a!D*)z Y
-?5$ PH
struts.velocity.contexts %@P``
List of Velocity context names ywEDy|Wn$~
velocity的context列表 l
DnMjK\M
-AC`q/bCD
7G"7wYc>R
struts.velocity.manager.classname n8$=f'Hgb
org.apache.struts2.views.velocity.VelocityManager implementation class |Ytg
org.apache.struts2.views.velocity.VelocityManager接口名 7b46t2W<
b_l3+'#ofM
struts.velocity.toolboxlocation Ft)
lp>3gv
The location of the Velocity toolbox HlPG3LD!
velocity工具盒的位置 <m0{'xw
struts.xslt.nocache GmbIFOT~
Whether or not XSLT templates should not be cached sMm/4AY]
是否XSLT模版应该被缓存 ib]vX-