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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7j nIv];i  
O6IB. >T  
struts.action.extension E0 `Lg c  
      The URL extension to use to determine if the request is meant for a Struts action dlhdsj:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >^XBa*4;Y  
P/EM :  
struts.configuration 3~nnCR[R  
      The org.apache.struts2.config.Configuration implementation class >#,G}xf  
        org.apache.struts2.config.Configuration接口名 /axIIfx-  
\(t@1]&jw  
struts.configuration.files u7?$b!hG^C  
      A list of configuration files automatically loaded by Struts P!"&%d  
      struts自动加载的一个配置文件列表 el:9wq  
5@^ dgq  
struts.configuration.xml.reload bdGIF'p%  
      Whether to reload the XML configuration or not \P1S|ufv  
      是否加载xml配置(true,false) K&8dA0i2u2  
CHV*vU<N  
struts.continuations.package kcb.Wz~=  
      The package containing actions that use Rife continuations JyR/1 W  
      含有actions的完整连续的package名称 }Tf9S<xpq3  
p~*UpU8u  
struts.custom.i18n.resources 71vkyn@"  
      Location of additional localization properties files to load JH:0 L  
      加载附加的国际化属性文件(不包含.properties后缀) !S&L*OH,  
Bz5-ITX   
struts.custom.properties t |~YEQ  
      Location of additional configuration properties files to load o.q/O)'V u  
      加载附加的配置文件的位置 Qt vYv!  
[HCAmnb  
+la2n(CAK  
struts.devMode pv&y91  
      Whether Struts is in development mode or not 3e(ehLc4DJ  
      是否为struts开发模式 P(t[ eXe  
K_K5'2dE  
struts.dispatcher.parametersWorkaround pZtu&R%GU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic dnj}AVfQx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hs}8xl  
l x,"EOP  
struts.enable.DynamicMethodInvocation fu90]upz~  
      Allows one to disable dynamic method invocation from the URL X/N0LU(q  
        允许动态方法调用 Zh_|m#)  
Bdj%hyW  
struts.freemarker.manager.classname Y(44pA&oN  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #!)n {h+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >@"Oe  
ss5 m/i7  
struts.i18n.encoding %;.;>Y(-  
      The encoding to use for localization messages ?JL:CBvCp  
      国际化信息内码 bf9a 1<\  
r2k2%nI-J  
struts.i18n.reload UKM2AZ0lb  
      Whether the localization messages should automatically be reloaded A45A:hqs  
      是否国际化信息自动加载 ar:+;.n  
`[C!L *#,  
struts.locale dDF .qXq.  
      The default locale for the Struts application Y5F]:gs@  
      默认的国际化地区信息 otk}y8  
/% kY0 LY  
struts.mapper.class hUYd0qEbEt  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H<^/Ati,|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <n(*Xak{a  
/ ~^rr f  
struts.multipart.maxSize A'2w>8  
      The maximize size of a multipart request (file upload) a{[x4d,z  
      multipart请求信息的最大尺寸(文件上传用) Me=CSQqf<  
 Br` IW  
struts.multipart.parser WD1G&5XP  
      The org.apache.struts2.dispatcher.multipart. ,Jd ',>3  
      MultiPartRequest parser implementation for a multipart request (file upload) W^s ;Bi+Nw  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #lkM=lY'  
(&!NC[n,  
QcgfBsv96  
struts.multipart.saveDir  |jM4E$  
      The directory to use for storing uploaded files !ET~KL!  
      设置存储上传文件的目录夹 [ :zO}r:  
K# Jk _"W  
struts.objectFactory F{UP;"8'  
      The com.opensymphony.xwork2.ObjectFactory implementation class e @IA20  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3;a<_cE*@  
}Q";aU0^  
struts.objectFactory.spring.autoWire zL\OB?)5J  
      Whether Spring should autoWire or not *6} N =Z  
      是否自动绑定Spring VO"("7L  
Ntbg`LGf'!  
struts.objectFactory.spring.useClassCache D:Zy  
      Whether Spring should use its class cache or not vBog0KD);s  
      是否spring应该使用自身的cache 3"O>&Q0c  
U4cY_p?  
struts.objectTypeDeterminer &8z[`JW,T  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class hEw- O;T0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 og0*Nt+  
g H G  
struts.serve.static.browserCache NOp609\^  
If static content served by the Struts filter should set browser caching header properties or not 0=K9`=5d0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b?Ki;[+O  
# 0Lf<NZ  
struts.serve.static ~ {Mn{  
      Whether the Struts filter should serve static content or not I}t#%/'YA  
      是否struts过滤器应该提供静态内容 `(3/$%  
SI=yI-  
struts.tag.altSyntax P><o,s"v  
      Whether to use the alterative syntax for the tags or not +-G<c6 |  
      是否可以用替代的语法替代tags wR^R M(1  
-e8}Pm "  
struts.ui.templateDir Hbpqyl%O>  
      The directory containing UI templates /"B?1?qc,=  
      UI templates的目录夹 6qaulwV4t  
0fYj4`4=n  
struts.ui.theme W>O~-2  
      The default UI template theme 39=1f6I1  
      默认的UI template主题 :duo#w"K  
=dFv/F/RW  
struts.url.http.port W]nSR RWco  
      The HTTP port used by Struts URLs |<GDUwC_;  
      设置http端口 VP6ZiQ|  
vPD] hs  
struts.url.https.port |M+<m">E  
      The HTTPS port used by Struts URLs rs~wv('  
      设置https端口 ObiT-D?)g  
g]c6& Y,#  
struts.url.includeParams {\(L%\sV@  
      The default includeParams method to generate Struts URLs ]GRWnif  
      在url中产生 默认的includeParams 9[^gAR  
d,=r 9.  
q5#J~n8Wr  
struts.velocity.configfile y>aZXa  
      The Velocity configuration file path .<Zy|1 4  
      velocity配置文件路径 c.j$9=XLBG  
,JEF GI{  
struts.velocity.contexts D)d~3`=#  
      List of Velocity context names beu\cV3  
      velocity的context列表 WAS U0  
(t4&,W_spA  
+9") KQT  
struts.velocity.manager.classname >2Kh0rIH  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9F*+YG!  
      org.apache.struts2.views.velocity.VelocityManager接口名 ETXZ?\<a5  
`3hSL R  
struts.velocity.toolboxlocation |0%+wB  
      The location of the Velocity toolbox X3V'Cy/sy  
      velocity工具盒的位置 fF V!)Zj  
struts.xslt.nocache OdB?_.+$  
      Whether or not XSLT templates should not be cached f4PIoZ e  
      是否XSLT模版应该被缓存 ?'<nx{!c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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