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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 jB%lB1Q|  
 zv0l,-o  
struts.action.extension TaKLzd2  
      The URL extension to use to determine if the request is meant for a Struts action PgtJ3oq [}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6dabU*  
J8uLJ  
struts.configuration 42G)~lun-d  
      The org.apache.struts2.config.Configuration implementation class :XZU&Sr"  
        org.apache.struts2.config.Configuration接口名 I>]oS(GNT  
?!A7rb/tj  
struts.configuration.files YIoQL}pX  
      A list of configuration files automatically loaded by Struts GpY"f c%  
      struts自动加载的一个配置文件列表 q&s3wDl/  
,(d) Qg  
struts.configuration.xml.reload oHd FMD@  
      Whether to reload the XML configuration or not 7}f}$1   
      是否加载xml配置(true,false) 2Rw&C6("w  
sFT.Oxg<  
struts.continuations.package U>=Z- T  
      The package containing actions that use Rife continuations FGigbtj`  
      含有actions的完整连续的package名称 8i>ZY  
R!\_rc1/  
struts.custom.i18n.resources vK|E>nL  
      Location of additional localization properties files to load 8@i7pBl@  
      加载附加的国际化属性文件(不包含.properties后缀) xjfV?B'Y}V  
Qu?R8+"KS  
struts.custom.properties %7zuQ \w  
      Location of additional configuration properties files to load r e/@D@%  
      加载附加的配置文件的位置 {C=NUK%?  
] o*#t  
WIC/AL'  
struts.devMode 0^I|u t4  
      Whether Struts is in development mode or not 6& e3Nt  
      是否为struts开发模式 i2E )P x  
ehzM) uK  
struts.dispatcher.parametersWorkaround 60P#,o@G  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]R h#g5X  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zMbN;tu  
i UCXAWP  
struts.enable.DynamicMethodInvocation v- T$:cL  
      Allows one to disable dynamic method invocation from the URL ;X?}x%$  
        允许动态方法调用 `Nz/O h7  
4r>6G/b8*  
struts.freemarker.manager.classname Dv|#u|iw  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @mOH"acGn?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R Q vft  
i6dHrx]:,  
struts.i18n.encoding "?]{ %-u  
      The encoding to use for localization messages iHeN9 cl  
      国际化信息内码 diJLZikk  
c`J.Tm[_u  
struts.i18n.reload <sWprR  
      Whether the localization messages should automatically be reloaded o3Yb7h9  
      是否国际化信息自动加载 .`HYA*8_  
E27vR 7  
struts.locale W5EDVP ur  
      The default locale for the Struts application aoMqSwF=  
      默认的国际化地区信息 ~zHjMo2  
=5J7Hw&K  
struts.mapper.class e<3K;Q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  aC$B2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 R<\F:9  
RN$1bxY  
struts.multipart.maxSize d/PiiiFf,  
      The maximize size of a multipart request (file upload) x'+T/zw  
      multipart请求信息的最大尺寸(文件上传用) ~HTmO;HNf"  
xf<at->  
struts.multipart.parser Bp_$.!Qy  
      The org.apache.struts2.dispatcher.multipart. tjIl-IQ  
      MultiPartRequest parser implementation for a multipart request (file upload) :o|\"3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \w/yF4,3<w  
`IP/d  
$+P>~X)  
struts.multipart.saveDir ?oVx2LdD|  
      The directory to use for storing uploaded files OVm\  
      设置存储上传文件的目录夹 X &uTSgN  
AJh w  
struts.objectFactory 1n=lqn/  
      The com.opensymphony.xwork2.ObjectFactory implementation class &~8oQC-eF  
      com.opensymphony.xwork2.ObjectFactory接口(spring) N >FKy'.gk  
uD\?(LM  
struts.objectFactory.spring.autoWire <v)1<*I  
      Whether Spring should autoWire or not DK$X2B"cV  
      是否自动绑定Spring JLnH&(O  
{K+i cTL3  
struts.objectFactory.spring.useClassCache (KFCs^x7wG  
      Whether Spring should use its class cache or not C<NLE-  
      是否spring应该使用自身的cache o C<.=2]  
g<l1zo`_  
struts.objectTypeDeterminer JSkLEa~<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K~c=M",mW  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  3L< wQ(  
dYT%  
struts.serve.static.browserCache >pU$wq|i  
If static content served by the Struts filter should set browser caching header properties or not ^Y=\#-Dd  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k3u "A_"c  
F20E_2;@@  
struts.serve.static [<2<Y  
      Whether the Struts filter should serve static content or not P^ A!.}d  
      是否struts过滤器应该提供静态内容 {9?JjA  
?ATOXy  
struts.tag.altSyntax W}m)cn3@  
      Whether to use the alterative syntax for the tags or not Lhl]g^SN  
      是否可以用替代的语法替代tags BUWqI dg  
0+?7EL~  
struts.ui.templateDir wLi4G@jJ  
      The directory containing UI templates 0rOfrTNOz%  
      UI templates的目录夹 )k\H@Dy%$  
gbI^2=YT'  
struts.ui.theme XlV0*}S  
      The default UI template theme U7K,AflK?M  
      默认的UI template主题 m+b):  
?%O(mC]u&  
struts.url.http.port syWG'( >  
      The HTTP port used by Struts URLs O #F   
      设置http端口 Q9~*<I> h;  
\DYWy*pe  
struts.url.https.port W }8'Pf  
      The HTTPS port used by Struts URLs qlb- jL  
      设置https端口 4.Q} 1%ZN  
a2dnbfSWa[  
struts.url.includeParams )[PtaPWeT  
      The default includeParams method to generate Struts URLs v>$'iT~l  
      在url中产生 默认的includeParams >hPQRd  
x.f]1S7h[  
fI{ESXU  
struts.velocity.configfile tasIDoo+!J  
      The Velocity configuration file path G f,`  
      velocity配置文件路径 IEXt:  
'9S8}q  
struts.velocity.contexts ! ='rc-E  
      List of Velocity context names 'JCZ]pZ  
      velocity的context列表 VXYK?Qc'  
uEktQ_u[  
+@94;me  
struts.velocity.manager.classname 8"U. Hnu  
      org.apache.struts2.views.velocity.VelocityManager implementation class )we}6sE"  
      org.apache.struts2.views.velocity.VelocityManager接口名 .}q&5v  
6HZ`.o:f  
struts.velocity.toolboxlocation *G{^|z  
      The location of the Velocity toolbox ePr&!Tz#  
      velocity工具盒的位置 GO__$%~  
struts.xslt.nocache 55tKTpV  
      Whether or not XSLT templates should not be cached v*;-yG&  
      是否XSLT模版应该被缓存 ex::m&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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