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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 B+Z13;}B  
ik5|,#}m&  
struts.action.extension q^*6C[G B  
      The URL extension to use to determine if the request is meant for a Struts action ej52AK7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2tf6GX:  
E:w:4[neh  
struts.configuration g~ !$i`_b  
      The org.apache.struts2.config.Configuration implementation class vCb]%sd-U  
        org.apache.struts2.config.Configuration接口名 jV^C19  
{6O0.}q]&  
struts.configuration.files )o jDRJ&  
      A list of configuration files automatically loaded by Struts [(|v`qMv/g  
      struts自动加载的一个配置文件列表  rN"Xz  
P'tMu6+)  
struts.configuration.xml.reload *d>vR1  
      Whether to reload the XML configuration or not ` ?9T~,  
      是否加载xml配置(true,false) ZPyM>XK$4  
=VSkl;(O  
struts.continuations.package 8bOT*^b$H  
      The package containing actions that use Rife continuations h$ Da&$uyI  
      含有actions的完整连续的package名称 >zmzK{A=  
~+HoSXu@E  
struts.custom.i18n.resources #)] c0]p  
      Location of additional localization properties files to load Uo6(|mm  
      加载附加的国际化属性文件(不包含.properties后缀) .GCR!V  
P+Z\3re  
struts.custom.properties "- eZZEl(  
      Location of additional configuration properties files to load w!`Umll2  
      加载附加的配置文件的位置 iYKU[UP?  
`*yAiv>  
.X'< D*  
struts.devMode }fA;7GW+9  
      Whether Struts is in development mode or not ?z=\Ye5x  
      是否为struts开发模式 U =cWmH  
QU/3X 1W  
struts.dispatcher.parametersWorkaround tg85:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NfwYDY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wqy ^8N[K]  
%{C)1*M7  
struts.enable.DynamicMethodInvocation >SDp uG&>  
      Allows one to disable dynamic method invocation from the URL f^9&WT  
        允许动态方法调用 PZ,z15PG]  
>uy%-aXiVa  
struts.freemarker.manager.classname P`TIaP9%E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +xj "hX>3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mp\%M 1<  
yC !/PQ"  
struts.i18n.encoding -$YJfQE6G  
      The encoding to use for localization messages 0@pu@DP~  
      国际化信息内码 hz\WZ^  
l6 7KJ  
struts.i18n.reload i-lKdpv  
      Whether the localization messages should automatically be reloaded KDey(DN:  
      是否国际化信息自动加载 "8(U\KaX  
eH <Jng  
struts.locale 5v9Vk` 3'  
      The default locale for the Struts application 4:1)~z  
      默认的国际化地区信息 Mo^`\ /x!  
jN/ j\x'  
struts.mapper.class =;{^" #r\  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r{[OJc!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 n &}s-`D  
s[AA7>]3  
struts.multipart.maxSize 1R*=.i%W  
      The maximize size of a multipart request (file upload) 6D/'`  
      multipart请求信息的最大尺寸(文件上传用) Hk;-5A|9  
zn)yFnB!TH  
struts.multipart.parser `;F2n2@  
      The org.apache.struts2.dispatcher.multipart. Fr5 Xp  
      MultiPartRequest parser implementation for a multipart request (file upload) 3z[ $4L'.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @`|)Ia<  
Q2s&L]L=  
kuKa8c  
struts.multipart.saveDir -BhTkoN)  
      The directory to use for storing uploaded files s@!$='|  
      设置存储上传文件的目录夹 : ejJV 6.  
!>g:Si"  
struts.objectFactory ,X/-  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?CY1]d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) x(~<tX~  
IR$ (_9z  
struts.objectFactory.spring.autoWire lS9n@  
      Whether Spring should autoWire or not NK/4OAt%  
      是否自动绑定Spring 'M/ ([|@  
K+),?Q ?.p  
struts.objectFactory.spring.useClassCache {gU&%j  
      Whether Spring should use its class cache or not ;dQAV\  
      是否spring应该使用自身的cache #H5=a6E+q  
(-"`,8K 2}  
struts.objectTypeDeterminer pbn\9C/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tu}>:mk  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Rs7 |}Dl}  
!buz<h  
struts.serve.static.browserCache keCRvlZ4  
If static content served by the Struts filter should set browser caching header properties or not /fwgqFVk  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {exrwnIZj  
*<9$D  
struts.serve.static 3&*'6D Tg  
      Whether the Struts filter should serve static content or not tZho)[1  
      是否struts过滤器应该提供静态内容 ]J@/p:S>  
,]$A\+m'  
struts.tag.altSyntax 3f&|h^\nD  
      Whether to use the alterative syntax for the tags or not *%A}x   
      是否可以用替代的语法替代tags K2ewucn  
WzlC*iv  
struts.ui.templateDir I>"Ci(N  
      The directory containing UI templates qO()w   
      UI templates的目录夹 {-WTV"L5*2  
Q`6i=mB;  
struts.ui.theme P(ZQDTbM :  
      The default UI template theme lG"H4Aa>  
      默认的UI template主题 ^:cRp9l"7  
{9'M0=  
struts.url.http.port (vyz;Ob  
      The HTTP port used by Struts URLs M{KW@7j  
      设置http端口 flnVYQe  
8MF2K6  
struts.url.https.port 8cdsToF(e.  
      The HTTPS port used by Struts URLs (:sZ b?*  
      设置https端口 U Cb02h  
m#H_*L0  
struts.url.includeParams OhwF )p=  
      The default includeParams method to generate Struts URLs O@&+} D>  
      在url中产生 默认的includeParams tZ8e`r*  
lLiQ;@  
5D' bJ6PO  
struts.velocity.configfile '`l K'5;  
      The Velocity configuration file path &jf7k <^  
      velocity配置文件路径 J8Z0D:5  
D>kD1B1  
struts.velocity.contexts (tCib 4  
      List of Velocity context names hbfq]v*X  
      velocity的context列表 M_1;$fWq  
xRxy|x[  
O<N#M{kc.  
struts.velocity.manager.classname VLI'    
      org.apache.struts2.views.velocity.VelocityManager implementation class ^v :Zo  
      org.apache.struts2.views.velocity.VelocityManager接口名 aj8Rb&  
EzT`,#b  
struts.velocity.toolboxlocation Ly #_?\bn  
      The location of the Velocity toolbox AsxD}Nw[Z*  
      velocity工具盒的位置 nk@atK,38^  
struts.xslt.nocache n=!uNu7  
      Whether or not XSLT templates should not be cached /QxlGfNZ  
      是否XSLT模版应该被缓存 #oV+@D`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八