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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 V+l>wMeo  
u{ .UZTn  
struts.action.extension &H{KXX"X  
      The URL extension to use to determine if the request is meant for a Struts action 6!n%SUt  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q|%(47}z  
^\<1Y''  
struts.configuration xe6 2gaT  
      The org.apache.struts2.config.Configuration implementation class n300kpv  
        org.apache.struts2.config.Configuration接口名 0 .dSP$e  
r`L$[C5I  
struts.configuration.files <vV?VV([  
      A list of configuration files automatically loaded by Struts Ot]PH[+  
      struts自动加载的一个配置文件列表  :RW0<  
HJ*W3Mg  
struts.configuration.xml.reload a[GlqaQy+-  
      Whether to reload the XML configuration or not b='YCa  
      是否加载xml配置(true,false) "+ji`{  
#9Z*.  
struts.continuations.package 5xHl6T+  
      The package containing actions that use Rife continuations r=+r5k"`  
      含有actions的完整连续的package名称 H{P"$zj`l  
M+ gYKPP  
struts.custom.i18n.resources 'qhA4W9  
      Location of additional localization properties files to load }cE,&n  
      加载附加的国际化属性文件(不包含.properties后缀) /tf}8d  
\~zTc_  
struts.custom.properties V4!RUqK  
      Location of additional configuration properties files to load fD<3Tl8U0  
      加载附加的配置文件的位置 }IGr%C(3%  
kN>AY'1  
x=bAR%i~  
struts.devMode dOe|uQXyD  
      Whether Struts is in development mode or not ts Zr n  
      是否为struts开发模式 $IQ  !g  
dHnId2@#  
struts.dispatcher.parametersWorkaround Cj}1 )qWq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @W^A%6"j  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l 49)Cv/  
Oav^BhUO  
struts.enable.DynamicMethodInvocation INrUvD/*  
      Allows one to disable dynamic method invocation from the URL S3Tww]q  
        允许动态方法调用 h"')D  
UGPD5wX?  
struts.freemarker.manager.classname 52>?l C  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class r 8,6qP[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 rj*4ZA?  
lFD$ Mc  
struts.i18n.encoding 0@t/j<5o  
      The encoding to use for localization messages '@Y@H,  
      国际化信息内码 H>`?S{J  
`{/z\  
struts.i18n.reload Xt/muV  
      Whether the localization messages should automatically be reloaded ;EE*#"IJ  
      是否国际化信息自动加载 y8wOJZ<K  
^c^9kK'  
struts.locale {JzX`Z30l  
      The default locale for the Struts application >ea<6&!Ee  
      默认的国际化地区信息 HlY4%M5q/  
^[8e|,U  
struts.mapper.class 8sg8gBt  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TjlKy  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 w=3@IW  
l<{]%=Qg  
struts.multipart.maxSize xZL`<3?  
      The maximize size of a multipart request (file upload) M\8FjJ>9  
      multipart请求信息的最大尺寸(文件上传用) /U6G?3b  
ho@f}4jhQ3  
struts.multipart.parser ALwkX"AN  
      The org.apache.struts2.dispatcher.multipart. *n2Q_o  
      MultiPartRequest parser implementation for a multipart request (file upload) yI bz\3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M:nXn7)+  
o 1#XM/Z  
sN 7I~  
struts.multipart.saveDir ]{nFB3vtB  
      The directory to use for storing uploaded files Ab-S*| B  
      设置存储上传文件的目录夹 * "ER8\  
PT|^RF%fT  
struts.objectFactory P~i^V;g  
      The com.opensymphony.xwork2.ObjectFactory implementation class < 7zyRm@S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) g^ ^%4Y  
fh )QX  
struts.objectFactory.spring.autoWire IJ o`O  
      Whether Spring should autoWire or not ?a~=CC@  
      是否自动绑定Spring }vxb, [#  
hX 9.%-@sR  
struts.objectFactory.spring.useClassCache 0:h;ots'  
      Whether Spring should use its class cache or not RoLUPy9U  
      是否spring应该使用自身的cache ]^&DEj{  
<{YP=WYW  
struts.objectTypeDeterminer hn.9j"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class AzN.vA)q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \%E Zg  
:4<+)r26  
struts.serve.static.browserCache s>"=6gb  
If static content served by the Struts filter should set browser caching header properties or not 2sy{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vP3Fb;  
<=cj)  
struts.serve.static 3>0/WbA:7E  
      Whether the Struts filter should serve static content or not Xe*@`&nv@  
      是否struts过滤器应该提供静态内容 R?>a UFM  
L1Fn;nR  
struts.tag.altSyntax q!""pr<n  
      Whether to use the alterative syntax for the tags or not ^Cyx "s't  
      是否可以用替代的语法替代tags x7l)i!/$  
/!JpmI  
struts.ui.templateDir C\.?3  
      The directory containing UI templates <jw`"L[D  
      UI templates的目录夹 ?Hf^& yo  
c"H4/,F  
struts.ui.theme 5 & -fX:/  
      The default UI template theme Fmt5"3B  
      默认的UI template主题 ePIBg(  
phl5E:fIKx  
struts.url.http.port 68Wm=j.m  
      The HTTP port used by Struts URLs {;Mcor3  
      设置http端口 E7^tU416  
jLD=EJ  
struts.url.https.port y= cBpC  
      The HTTPS port used by Struts URLs 6O$OM  
      设置https端口 ;{q7rsE  
f&8&UL>e`  
struts.url.includeParams 4'Vuhqk  
      The default includeParams method to generate Struts URLs JF%+T yMe  
      在url中产生 默认的includeParams M)I&^mm39  
rA8neO)  
q' 3=  
struts.velocity.configfile l0tMdsz  
      The Velocity configuration file path vj[ .`fY  
      velocity配置文件路径 }v0oFY$u`H  
0RYh4'=F  
struts.velocity.contexts exTpy  
      List of Velocity context names aMZ6C <N  
      velocity的context列表 G}BO!Z6  
"p#mNc  
b&HA_G4  
struts.velocity.manager.classname V2i*PK X  
      org.apache.struts2.views.velocity.VelocityManager implementation class rbO9NRg>  
      org.apache.struts2.views.velocity.VelocityManager接口名 B\KvKT|\  
'2uQ  
struts.velocity.toolboxlocation ]*%0CDY6`N  
      The location of the Velocity toolbox # T$^{/J  
      velocity工具盒的位置 asj^K|.z  
struts.xslt.nocache MHI0>QsI  
      Whether or not XSLT templates should not be cached |"5NI'X?  
      是否XSLT模版应该被缓存 ;[ pyKh  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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