struts2的struts.properties配置文件详解 ( d2|r)O
;>duY\$<
struts.action.extension g:sn/Zug]
The URL extension to use to determine if the request is meant for a Struts action tuF
hPqe {
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 DL0i
v9qgfdBS5
struts.configuration xF4>D!T%8
The org.apache.struts2.config.Configuration implementation class &eHhj9
org.apache.struts2.config.Configuration接口名 ~Yw`w2
Mr3;B+S
struts.configuration.files "+6:vhP5
A list of configuration files automatically loaded by Struts 8;C_@
struts自动加载的一个配置文件列表 feH|sz`e
Gz9w1[t
struts.configuration.xml.reload Uz`K#Bz
Whether to reload the XML configuration or not %ur_DQ
是否加载xml配置(true,false) Uczb"k5
D~i m1h;>
struts.continuations.package [8o!X)
The package containing actions that use Rife continuations xA-u%Vf7@
含有actions的完整连续的package名称 ktILKpHt"
eKq`t.*Ft
struts.custom.i18n.resources :q
xd])-
Location of additional localization properties files to load K38A;=t9
加载附加的国际化属性文件(不包含.properties后缀) q@}eYQ=P|e
]}~[2k.
struts.custom.properties ;;2Yfn'`9
Location of additional configuration properties files to load .9< i
加载附加的配置文件的位置 i8\&J.
_djr>C=H"
&{Zt(%\ '
struts.devMode wap@q6fz<
Whether Struts is in development mode or not MMZdF{5@G
是否为struts开发模式 'ow`ej
S-^RZ"
struts.dispatcher.parametersWorkaround e*7nq~ B5
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yH'vhtop
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )Bl0
W
@C]Q;>^|
struts.enable.DynamicMethodInvocation }w0>mA0=H
Allows one to disable dynamic method invocation from the URL <F=U(WWn9
允许动态方法调用 ZZ<uiN$
aP%2CP~_ P
struts.freemarker.manager.classname
$rAHtr
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )jh4HMvmC
org.apache.struts2.views.freemarker.FreemarkerManager接口名 '8Q:}{
aIrQ=}
struts.i18n.encoding 'Y
ZYRFWXM
The encoding to use for localization messages \a|FhhI
国际化信息内码 (QPfrR=J4
;^q@w
struts.i18n.reload u*I=.
Whether the localization messages should automatically be reloaded yA8e"$
是否国际化信息自动加载 (8(7:aE$
1^*M*>&d<
struts.locale _%M5
T
The default locale for the Struts application @A_bZQ@
默认的国际化地区信息 1keH 1[
w"Q6'/P
struts.mapper.class U;Iqz1S
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v&hQ;v
org.apache.struts2.dispatcher.mapper.ActionMapper接口 tSr.0'CE
{9tKq--@E9
struts.multipart.maxSize `CWI%V
The maximize size of a multipart request (file upload) Op&i6V}<s
multipart请求信息的最大尺寸(文件上传用) xQ[~ c1
N3D{t\hg
struts.multipart.parser (vq0Gl
The org.apache.struts2.dispatcher.multipart. As$:V<Z
MultiPartRequest parser implementation for a multipart request (file upload) 2yu\fu
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EJM6TI"
r#ISIgJXG
3D)gy9T&l
struts.multipart.saveDir VJK?"mX
The directory to use for storing uploaded files u&q RK>wLa
设置存储上传文件的目录夹 wABaNB=9;
v"y0D
struts.objectFactory I<v1S
The com.opensymphony.xwork2.ObjectFactory implementation class y4%u<