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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Nf'dT;s.N  
=t$mbI   
struts.action.extension npcBpGL{  
      The URL extension to use to determine if the request is meant for a Struts action D?}m h1#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _qt;{,t  
~f10ZB_k>'  
struts.configuration Gv,92ny!|  
      The org.apache.struts2.config.Configuration implementation class 9]@J*A}=l  
        org.apache.struts2.config.Configuration接口名 f WjS)  
sNfb %r  
struts.configuration.files P9"D[uz  
      A list of configuration files automatically loaded by Struts &]6K]sWJK{  
      struts自动加载的一个配置文件列表 Kn#xY3W6  
CS5jJi"pD3  
struts.configuration.xml.reload a^c ,=X3  
      Whether to reload the XML configuration or not N~5WA3xd  
      是否加载xml配置(true,false) :F>L;mp  
s.;KVy,=Bu  
struts.continuations.package 90iW-"l+[  
      The package containing actions that use Rife continuations l~4e2xoT  
      含有actions的完整连续的package名称 /;nO<X:XV  
N~}v:rK>g  
struts.custom.i18n.resources m0\"C-Bk  
      Location of additional localization properties files to load aC yb-P  
      加载附加的国际化属性文件(不包含.properties后缀) p (xD/E  
<]Pix )  
struts.custom.properties tw4am.o1]  
      Location of additional configuration properties files to load ;}eEG{`Y  
      加载附加的配置文件的位置 vg:J#M:  
|:=b9kv  
$sc8)d\B  
struts.devMode pm W6~%}*  
      Whether Struts is in development mode or not av; (b3Lq  
      是否为struts开发模式 I"cQ5gF?A  
Ec*--]j*c  
struts.dispatcher.parametersWorkaround jO&f*rxN  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h`EH~W0:z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |T$a+lHMD  
Og$eQS  
struts.enable.DynamicMethodInvocation )| Vg/S  
      Allows one to disable dynamic method invocation from the URL 1Fvv/Tj  
        允许动态方法调用 lYZ@a4TA  
/R(U>pZ  
struts.freemarker.manager.classname *]:G7SW{  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p~, 3A:i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;ad9{":J#B  
nF. ;LM  
struts.i18n.encoding cu479VzPx:  
      The encoding to use for localization messages XgiI6-B~  
      国际化信息内码 uD ?I>7  
9!O+Ryy?\  
struts.i18n.reload G {pP}  
      Whether the localization messages should automatically be reloaded w~Tq|kU[  
      是否国际化信息自动加载 S& ,Ju%  
[L*[j.r7[  
struts.locale <nOuyGIZ  
      The default locale for the Struts application AF*ni~  
      默认的国际化地区信息 2[8fFo>  
M5T=Fj86  
struts.mapper.class W;OYO  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {hs2?#p  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]} 5I>l  
I*+LJy;j  
struts.multipart.maxSize V(lK`dY  
      The maximize size of a multipart request (file upload) rSF;Lp)}  
      multipart请求信息的最大尺寸(文件上传用) w| -0@  
w L/p.@  
struts.multipart.parser 0,1L e$)6  
      The org.apache.struts2.dispatcher.multipart. %S >xSqX  
      MultiPartRequest parser implementation for a multipart request (file upload) ]Efh(Gb]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Yn IM-  
8(vC jL  
KD,^*FkkL  
struts.multipart.saveDir 4hsPbUx9  
      The directory to use for storing uploaded files AQnJxIL:  
      设置存储上传文件的目录夹 @b ::6n/u  
a2c x  
struts.objectFactory =RW* %8C  
      The com.opensymphony.xwork2.ObjectFactory implementation class XI%RneuDr:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ==-7F3QP  
vWqyZ-p,q  
struts.objectFactory.spring.autoWire ;1{iF2jZ:  
      Whether Spring should autoWire or not v{mv*`~nA\  
      是否自动绑定Spring kz7vbY  
hV3,^#9o  
struts.objectFactory.spring.useClassCache dJdD"xj  
      Whether Spring should use its class cache or not _SMT.lG  
      是否spring应该使用自身的cache q5:0&:m$4$  
rt5oRf:wY  
struts.objectTypeDeterminer K:>NGGY8r  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (ZE%tbm2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &57qjA ,8<  
&#.x)>f  
struts.serve.static.browserCache O_r^oH  
If static content served by the Struts filter should set browser caching header properties or not >Jm-2W5J  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =,&u_>Dp  
E@5zd@[  
struts.serve.static cwH,l$  
      Whether the Struts filter should serve static content or not K?h[.`}  
      是否struts过滤器应该提供静态内容 i>ESEmb-  
D 7Gd%  
struts.tag.altSyntax ^;V}l?J_s  
      Whether to use the alterative syntax for the tags or not 9O),/SH;:  
      是否可以用替代的语法替代tags ~hS .\h  
Kwy1SyU  
struts.ui.templateDir a6;gBoV  
      The directory containing UI templates Nf=C?`L  
      UI templates的目录夹 gzl%5`DBw  
oS[W*\7'!  
struts.ui.theme pu\b`3C(  
      The default UI template theme H "Q(2I  
      默认的UI template主题 Nhjle@J<  
 C#A@)>  
struts.url.http.port  .LX?VD  
      The HTTP port used by Struts URLs `y1BTe&  
      设置http端口 1zdYBb6;j  
pWMiCXnW  
struts.url.https.port ,3G$`  
      The HTTPS port used by Struts URLs vg+r?4Q3  
      设置https端口 $@_YdZ!  
b0r,h)R  
struts.url.includeParams Ly^E& ,)  
      The default includeParams method to generate Struts URLs jFgZ}Xp  
      在url中产生 默认的includeParams Q<z)q<e  
^bF}_CSE  
08`f7[JQo]  
struts.velocity.configfile cge-'/8w%  
      The Velocity configuration file path 3wV86tH%  
      velocity配置文件路径 B#J{F  
"\NF  
struts.velocity.contexts jIKBgsiF/  
      List of Velocity context names 8r5xs-  
      velocity的context列表 7^c2e*S  
#o"tMh!f  
;_x2 Ymw  
struts.velocity.manager.classname |__d 8a  
      org.apache.struts2.views.velocity.VelocityManager implementation class *zJD$+Fo  
      org.apache.struts2.views.velocity.VelocityManager接口名 CP}0Ri)  
QxKAXq@)i  
struts.velocity.toolboxlocation AzZi{Q ?  
      The location of the Velocity toolbox X>2? `8M  
      velocity工具盒的位置 fv:L\N1u  
struts.xslt.nocache yxqTm%?y  
      Whether or not XSLT templates should not be cached r i,2clp  
      是否XSLT模版应该被缓存 Mk<m6E$L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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