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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 HIc;Lc8$  
SD^::bH  
struts.action.extension c,r6+oX  
      The URL extension to use to determine if the request is meant for a Struts action nOPB*{r|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =78y* `L  
>GIQT ?O6  
struts.configuration QT%`=b  
      The org.apache.struts2.config.Configuration implementation class Z?eTjkNS#  
        org.apache.struts2.config.Configuration接口名 w: BJ4bi=  
._0$#J S[  
struts.configuration.files D+!T5)>(  
      A list of configuration files automatically loaded by Struts K}cZK  
      struts自动加载的一个配置文件列表 l-XfUjJ  
Qr R+3kxM  
struts.configuration.xml.reload <sC(a7i1  
      Whether to reload the XML configuration or not fQ9af)d  
      是否加载xml配置(true,false) )zWu\ JRp  
DNmC   
struts.continuations.package \Q#pu;Y*N]  
      The package containing actions that use Rife continuations Zna6-0o  
      含有actions的完整连续的package名称 ~;HASHu  
?*~ ~Ok  
struts.custom.i18n.resources r.?dT |A  
      Location of additional localization properties files to load a0ms9%Y;Q[  
      加载附加的国际化属性文件(不包含.properties后缀) pss')YP.  
UT@Qo}:  
struts.custom.properties t XzuP_0  
      Location of additional configuration properties files to load efyEzL  
      加载附加的配置文件的位置 >(2;(TbQm0  
5i6Ji(  
) P7oL.)  
struts.devMode #sU>L=  
      Whether Struts is in development mode or not w?D=  
      是否为struts开发模式 8;qOsV)UDT  
mg*iW55g  
struts.dispatcher.parametersWorkaround NkUY_rKPb  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F42^Uoaz  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !IJ YaQ6z  
r`ftflNh(  
struts.enable.DynamicMethodInvocation IYe[IHny1  
      Allows one to disable dynamic method invocation from the URL &DQ_qOKD  
        允许动态方法调用 s3Bo'hGxG  
hzAuj0-A  
struts.freemarker.manager.classname x<t ?Yc9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 67/@J)z0%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pp|$y\ZzB  
6U).vg<  
struts.i18n.encoding T7qp ({v?Q  
      The encoding to use for localization messages &kf \[|y  
      国际化信息内码 R Q 8"vF#  
x6aVNH=  
struts.i18n.reload &LV'"2ng8  
      Whether the localization messages should automatically be reloaded Z&@P<  
      是否国际化信息自动加载 {U9{*e$=  
*=md!^x`  
struts.locale 7IUJHc?  
      The default locale for the Struts application [?6+ r  
      默认的国际化地区信息 G9S3r3  
l )r^|9{  
struts.mapper.class 0]ai*\,W7~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yu#m6K  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 E.C=VfBW  
\HD:#a  
struts.multipart.maxSize Uv k:  
      The maximize size of a multipart request (file upload) |s#,^SJ0  
      multipart请求信息的最大尺寸(文件上传用) t^bh2 $J  
iJZvVs',  
struts.multipart.parser :"Vmy.xq  
      The org.apache.struts2.dispatcher.multipart. L]YJ#5  
      MultiPartRequest parser implementation for a multipart request (file upload) E\2f"s  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %M_F/O  
ybf,pDY#f  
pvWNiW:~k  
struts.multipart.saveDir ^!m%:r7Dr  
      The directory to use for storing uploaded files 3 JlM{N6+  
      设置存储上传文件的目录夹 pl}W|kW}  
nF-l4=  
struts.objectFactory B8wGWZ@  
      The com.opensymphony.xwork2.ObjectFactory implementation class u$qasII  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 'QpDx&~QP  
HII@Ed f?  
struts.objectFactory.spring.autoWire #m{F*(%  
      Whether Spring should autoWire or not U*EBH  
      是否自动绑定Spring 4tkb7D q  
,A#gF_8  
struts.objectFactory.spring.useClassCache KsTE)@ F:  
      Whether Spring should use its class cache or not 9r:|u:i7m  
      是否spring应该使用自身的cache \1u^?cBd  
\0*dKgN  
struts.objectTypeDeterminer _+Z;pt$C  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class WM9({BZ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;<MHl[jJD  
4<EC50@.  
struts.serve.static.browserCache {Zs EYUP  
If static content served by the Struts filter should set browser caching header properties or not njNqUo>  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v)vogtAQa  
(\'lV8}U  
struts.serve.static E.B6u, Te  
      Whether the Struts filter should serve static content or not (Ms0pm-#t  
      是否struts过滤器应该提供静态内容 75h]# k9\  
?`:+SncI"b  
struts.tag.altSyntax M)v='O<H8  
      Whether to use the alterative syntax for the tags or not Z@ec}`UO|u  
      是否可以用替代的语法替代tags fHuWBC_YO  
un`4q-S7  
struts.ui.templateDir X~*/ ~f  
      The directory containing UI templates iDCQqj`  
      UI templates的目录夹 !(S.7#-r  
oh:.iL}j  
struts.ui.theme ?:5/4YC  
      The default UI template theme ( s+}l?  
      默认的UI template主题 )*}?EI4.  
y2B'0l  
struts.url.http.port s=R^2;^  
      The HTTP port used by Struts URLs OSJL,F,  
      设置http端口 M?m@o1\;W  
do l8O  
struts.url.https.port fn5!Nr ,  
      The HTTPS port used by Struts URLs SJ,];mC0  
      设置https端口 R-k~\vCW  
vgn,ZcX  
struts.url.includeParams x9]vhR/av  
      The default includeParams method to generate Struts URLs A0ZU #"'/  
      在url中产生 默认的includeParams ASSe;+yp  
?5[$d{ Gjl  
!6 kn>447Y  
struts.velocity.configfile &`g^b^i  
      The Velocity configuration file path H-% B<7  
      velocity配置文件路径 WxJaE;`Ige  
%4wHiCOg  
struts.velocity.contexts Nah\4-75&  
      List of Velocity context names 8yswi[  
      velocity的context列表 R<r,&X?m  
QqC-ztz  
R2Q1Rk#  
struts.velocity.manager.classname =QwT)KRB%  
      org.apache.struts2.views.velocity.VelocityManager implementation class (AG((eV  
      org.apache.struts2.views.velocity.VelocityManager接口名 &jrc]  
#A~7rH%hi  
struts.velocity.toolboxlocation 5sB~.z@  
      The location of the Velocity toolbox nx!+: P ,  
      velocity工具盒的位置 T#}"?A|  
struts.xslt.nocache |lIgvHgg  
      Whether or not XSLT templates should not be cached NiVZ=wEp,  
      是否XSLT模版应该被缓存 U]M5&R=?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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