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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 KsTE)@ F:  
t%y i3  
struts.action.extension s_Z5M2o  
      The URL extension to use to determine if the request is meant for a Struts action 1q ZnyJ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6d5q<C_3t  
h5vetci/  
struts.configuration 6R2F,b(_  
      The org.apache.struts2.config.Configuration implementation class MO1H?U hx  
        org.apache.struts2.config.Configuration接口名 =q[+ e(,3  
Qp@}v7Due  
struts.configuration.files ^c}kVQ\g3  
      A list of configuration files automatically loaded by Struts  >YdLB@  
      struts自动加载的一个配置文件列表 6 {`J I  
[$]-W$j+  
struts.configuration.xml.reload D7IhNWrgj  
      Whether to reload the XML configuration or not }Oe4wEYN)  
      是否加载xml配置(true,false) -g"Wi@Qr  
>N0L  
struts.continuations.package 1n)YCSA  
      The package containing actions that use Rife continuations Bi/E{k,  
      含有actions的完整连续的package名称 -Zg.o$  
Lm^vS u  
struts.custom.i18n.resources |@B|o-  
      Location of additional localization properties files to load xgsEe3|  
      加载附加的国际化属性文件(不包含.properties后缀) /+<G@+(  
6 G ,cc  
struts.custom.properties p`"Ic2xPJ  
      Location of additional configuration properties files to load uowdzJ7  
      加载附加的配置文件的位置 x=W5e ^0?  
: t D`e<  
;Rxc(tR!n  
struts.devMode aMK\&yZD  
      Whether Struts is in development mode or not -23sm~`  
      是否为struts开发模式 dM -<aq  
NwKj@Jos  
struts.dispatcher.parametersWorkaround {H=<5   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &j"_hFhv  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~A(^<  
p CeCR  
struts.enable.DynamicMethodInvocation j\@&poJ(,  
      Allows one to disable dynamic method invocation from the URL <pFbm  
        允许动态方法调用 xjYH[PgfX  
O^~nf%  
struts.freemarker.manager.classname !@h)3f]`1G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MbQ%'z6D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 WQ{^+C9g'1  
S2 -J1 x2N  
struts.i18n.encoding (V}?y:)  
      The encoding to use for localization messages Q0XSQOl  
      国际化信息内码 xd`\Ai  
7<*g'6JG[  
struts.i18n.reload wF-H{C'  
      Whether the localization messages should automatically be reloaded H:q;IYE+a  
      是否国际化信息自动加载 "`KT7  
VTO92Eo  
struts.locale eV9,G8  
      The default locale for the Struts application 0,cU^HMA  
      默认的国际化地区信息 B}I9+/|{  
[t?:CgI)E  
struts.mapper.class 9 H>J S  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .;dI&0Z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /i"1e:cK  
OP``+z>  
struts.multipart.maxSize Pp;OkI``[  
      The maximize size of a multipart request (file upload) MdnapxuS  
      multipart请求信息的最大尺寸(文件上传用) cVaGgP}\  
0c&DSL}6  
struts.multipart.parser ,y)V5 c1  
      The org.apache.struts2.dispatcher.multipart. T|--ZRYn  
      MultiPartRequest parser implementation for a multipart request (file upload) i@=(Y~tD`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) AI$\wp#aw  
`{ \)Wuw  
DU@SXb  
struts.multipart.saveDir 'qoaMJxN`  
      The directory to use for storing uploaded files <I{Yyl^  
      设置存储上传文件的目录夹 u} [.*e  
mW3 IR3 b  
struts.objectFactory =)! ~t/  
      The com.opensymphony.xwork2.ObjectFactory implementation class "!#KQ''R  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yi<H }&  
q^}iXE~  
struts.objectFactory.spring.autoWire k7nke^,|  
      Whether Spring should autoWire or not dFk$rr>q  
      是否自动绑定Spring $L72%T  
C5TC@w1*  
struts.objectFactory.spring.useClassCache LP>GM=S#"  
      Whether Spring should use its class cache or not dp }zG+  
      是否spring应该使用自身的cache 7\i> >  
&8JK^zQq  
struts.objectTypeDeterminer : TP\pH7E  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `cFNO:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 g9F?j  
iG{xDj{CKv  
struts.serve.static.browserCache 6^,;^   
If static content served by the Struts filter should set browser caching header properties or not FD8d-G  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 gS!zaD7Nr  
xE6hE'rh.O  
struts.serve.static > q8)~  
      Whether the Struts filter should serve static content or not |cl*wFm|3  
      是否struts过滤器应该提供静态内容 /b."d\  
3oPyh $*  
struts.tag.altSyntax C!|Yz=e  
      Whether to use the alterative syntax for the tags or not }Rq{9j,%  
      是否可以用替代的语法替代tags /kqa|=-`q  
Sj<]~*y"  
struts.ui.templateDir b%xG^jUXsX  
      The directory containing UI templates }u;`k'J@  
      UI templates的目录夹 GjX6noqT  
cJ'OqV F  
struts.ui.theme #?DoP]1Y  
      The default UI template theme ( $,qxPOn  
      默认的UI template主题 whQJWi=ck  
CS;4ysNf  
struts.url.http.port ugs9>`fF&  
      The HTTP port used by Struts URLs L1QDA}6?_Y  
      设置http端口 Eo0/cln|  
rouaT  
struts.url.https.port $nNCBC=  
      The HTTPS port used by Struts URLs T:*l+<?  
      设置https端口 0\wW%3C  
ZtX CPA!  
struts.url.includeParams KAnq8B!h  
      The default includeParams method to generate Struts URLs m(^nG_eX  
      在url中产生 默认的includeParams 2I_~] X53[  
3yLJWHO%W  
ka*#O"}L8  
struts.velocity.configfile FlT5R*m  
      The Velocity configuration file path WIw*//nw  
      velocity配置文件路径 yXCHBz6&  
%0%Tp  
struts.velocity.contexts 4i+H(d n  
      List of Velocity context names jaQH1^~l/-  
      velocity的context列表 1;~| [C  
HnKXO  
QVkrhwp  
struts.velocity.manager.classname e. R9:  
      org.apache.struts2.views.velocity.VelocityManager implementation class G BM8:IG \  
      org.apache.struts2.views.velocity.VelocityManager接口名 di37   
1YtK+,mz  
struts.velocity.toolboxlocation lLS7K8;4W  
      The location of the Velocity toolbox a: F\4x=  
      velocity工具盒的位置 !iW> xo  
struts.xslt.nocache 8Y/1+-  
      Whether or not XSLT templates should not be cached %m-U:H.Vp  
      是否XSLT模版应该被缓存 y N,grU(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五