社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 5677阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 xE}q(.]  
$`riB$v  
struts.action.extension ^ yfT7050  
      The URL extension to use to determine if the request is meant for a Struts action ](O!6_'d  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D4S>Pkv  
%++q+pa  
struts.configuration QM$?}>:  
      The org.apache.struts2.config.Configuration implementation class @U9ov >E  
        org.apache.struts2.config.Configuration接口名 m/{rmtA4  
w,P2_xk`  
struts.configuration.files c-3? D;  
      A list of configuration files automatically loaded by Struts 'tdjPdw  
      struts自动加载的一个配置文件列表 >Qi2;t~G  
BEY}mR]  
struts.configuration.xml.reload )S5Q5"j&=f  
      Whether to reload the XML configuration or not U2h?l `nP  
      是否加载xml配置(true,false) 2yN~[, L  
68D.Li  
struts.continuations.package uXp0D$a  
      The package containing actions that use Rife continuations [k.<x'#  
      含有actions的完整连续的package名称 v3[ 2!UXq  
7N:,F9V<  
struts.custom.i18n.resources #-{4 Jx  
      Location of additional localization properties files to load UrtN3icph  
      加载附加的国际化属性文件(不包含.properties后缀) t#d~gBe?V  
)UxF lp;\  
struts.custom.properties u=4tW:W,  
      Location of additional configuration properties files to load 9SU;c l  
      加载附加的配置文件的位置 .qHgQ_%  
!]"T`^5,Y  
cLXMq"?C  
struts.devMode eQNYfWR  
      Whether Struts is in development mode or not }6o` in>M  
      是否为struts开发模式 %II |;<  
Mbi)mybM  
struts.dispatcher.parametersWorkaround lT%o6qgT  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic BO1Mz=q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) bclA+!1  
z7GLpTa  
struts.enable.DynamicMethodInvocation DQE.;0ld  
      Allows one to disable dynamic method invocation from the URL -m-~  
        允许动态方法调用 {5RM)J1  
a|OX4  
struts.freemarker.manager.classname 1|Fukx<@J<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (llg!1  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 h<}4mo_ $  
^c/.D*J[I  
struts.i18n.encoding -ERDWY  
      The encoding to use for localization messages JWEqy+,Fjw  
      国际化信息内码 HtXzMSGo7  
$cYh X^YG.  
struts.i18n.reload |{Oe&j3|  
      Whether the localization messages should automatically be reloaded VkUMMq{  
      是否国际化信息自动加载 6 s*#y [$  
D V C};  
struts.locale uu'~[SZlL  
      The default locale for the Struts application 9/0<Z_b2  
      默认的国际化地区信息 [5,#p$R  
7q(RQQp  
struts.mapper.class k/*r2 C  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class g<tr |n  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Of-l<Ks\  
L-q.Q  
struts.multipart.maxSize -[G+*3Y{7  
      The maximize size of a multipart request (file upload) Bl(we/r  
      multipart请求信息的最大尺寸(文件上传用) w%`7,d u|  
?a(ApD\  
struts.multipart.parser `Up3p24  
      The org.apache.struts2.dispatcher.multipart. $_NVy>\&  
      MultiPartRequest parser implementation for a multipart request (file upload) tLLP2^_&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pWeKN`  
l].dOso$`  
QKe=/;  
struts.multipart.saveDir HD$W\P  
      The directory to use for storing uploaded files 2x t 8F  
      设置存储上传文件的目录夹 zs WYV n]  
\|Us/_h  
struts.objectFactory CGPPo;RjK  
      The com.opensymphony.xwork2.ObjectFactory implementation class RtN5\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^ @sg{_.~l  
=%p0r z|b  
struts.objectFactory.spring.autoWire JZ9w!)U  
      Whether Spring should autoWire or not <&Y7Q[  
      是否自动绑定Spring Hh,q)(Wo  
]^E<e!z={$  
struts.objectFactory.spring.useClassCache lor jMS  
      Whether Spring should use its class cache or not >DPC}@Wl  
      是否spring应该使用自身的cache fgq#Oi}  
L`tr7EEr  
struts.objectTypeDeterminer w8c71C  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class YG$Y4h" @"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jq%Qc9y  
3u _[=a  
struts.serve.static.browserCache MoavA 3`  
If static content served by the Struts filter should set browser caching header properties or not l jQru ^(u  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zcy!YB  
FG:(H0  
struts.serve.static pFx7URZA  
      Whether the Struts filter should serve static content or not 5v6*.e'p  
      是否struts过滤器应该提供静态内容 >6KuZ_  
7"FsW3an  
struts.tag.altSyntax x}{/) ?vC  
      Whether to use the alterative syntax for the tags or not X=8y$Yy  
      是否可以用替代的语法替代tags n~@;[=o?5  
P|l62!m<   
struts.ui.templateDir I^emH+!MW  
      The directory containing UI templates j!F5gP-l  
      UI templates的目录夹 Mnc9l ^  
b:SjJA,HM  
struts.ui.theme ^cn%]X#.  
      The default UI template theme +co VE^/w  
      默认的UI template主题 .]JGCTB3  
`$Z:j;F  
struts.url.http.port WRe9ki=R  
      The HTTP port used by Struts URLs 'H0uvvhOp  
      设置http端口 k+t?EZ6L  
V9mqJRFJ:  
struts.url.https.port (p>?0h9[  
      The HTTPS port used by Struts URLs (_ HwU/  
      设置https端口 ,( u- x!  
8KiG(6*Q  
struts.url.includeParams  LhKaqR{  
      The default includeParams method to generate Struts URLs 5bKM}? =L  
      在url中产生 默认的includeParams .nl!KzO6g  
[3"k :  
AY<(`J{  
struts.velocity.configfile H Rn Q*  
      The Velocity configuration file path %-1-y]R|  
      velocity配置文件路径 @y ] ek/  
D=Jj!;  
struts.velocity.contexts ]?rVram;z  
      List of Velocity context names NwP!.  
      velocity的context列表 \,&,Q  
U[,."w]T  
iHBetkAu  
struts.velocity.manager.classname *t=8^q(K[  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]Dec/Nnj  
      org.apache.struts2.views.velocity.VelocityManager接口名 6?i]oy^X]p  
e ?sMOBPlv  
struts.velocity.toolboxlocation nvY%{Zf$}  
      The location of the Velocity toolbox MVP|l_2!  
      velocity工具盒的位置 jlXzfD T  
struts.xslt.nocache v#c'p^T  
      Whether or not XSLT templates should not be cached ZRHK?wg'#  
      是否XSLT模版应该被缓存 & 6 wD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五