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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (:E_m|00;  
#C,M8~Q7  
struts.action.extension `Bx3grZ 7&  
      The URL extension to use to determine if the request is meant for a Struts action ,(Fo%.j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NylN-X7[#  
/s& xI  
struts.configuration I9N?zmH  
      The org.apache.struts2.config.Configuration implementation class =Z_\8qc  
        org.apache.struts2.config.Configuration接口名 L~A"%T,/h  
o%h"gbvMY!  
struts.configuration.files N( E\  
      A list of configuration files automatically loaded by Struts ;RZ@t6^  
      struts自动加载的一个配置文件列表 W3* BdpTw  
<.( IJ  
struts.configuration.xml.reload Yo;/7gG>  
      Whether to reload the XML configuration or not OQaM47"  
      是否加载xml配置(true,false)  Z_F:H@-&  
.:Bjs*  
struts.continuations.package wl2rw93  
      The package containing actions that use Rife continuations 6~?7CK  
      含有actions的完整连续的package名称 E-_)w  
vn3<LQ]  
struts.custom.i18n.resources '#xxjhF^  
      Location of additional localization properties files to load Rct|"k_"Ys  
      加载附加的国际化属性文件(不包含.properties后缀) r~F T,  
,WA7Kp9  
struts.custom.properties 1"A1bK  
      Location of additional configuration properties files to load Lx,"jA/  
      加载附加的配置文件的位置 62rTGbDbx  
0!veLXeK!  
zkn K2e,$  
struts.devMode !uLAW_~  
      Whether Struts is in development mode or not @Ek''a$  
      是否为struts开发模式 m9ts&b+TE  
Xhtc0\0"(  
struts.dispatcher.parametersWorkaround *c7kB}/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %]nY v#K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @=`Dw/13  
,0NVb7F;k  
struts.enable.DynamicMethodInvocation rZ 9bz}K  
      Allows one to disable dynamic method invocation from the URL 2\l7=9 ]\3  
        允许动态方法调用 pl Ii  
[VIdw 92  
struts.freemarker.manager.classname </tiNc  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Gnp,~F"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 TYWajcch  
*XS@Ku  
struts.i18n.encoding [ik D4p=  
      The encoding to use for localization messages ?l`DkUo*j  
      国际化信息内码 j(F%uUpN  
LW?] ~|  
struts.i18n.reload p.TR1BHw  
      Whether the localization messages should automatically be reloaded 2,puu2F  
      是否国际化信息自动加载 Z!G_" 3  
&}32X-~y  
struts.locale ^i_mGeu  
      The default locale for the Struts application ?;> s<  
      默认的国际化地区信息 -VD[iH  
xb0hJ~e  
struts.mapper.class ^tsIgK^9H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *!%y.$\cE  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 K6~N{:.s  
??=CAU%\  
struts.multipart.maxSize /ivt8Uiw  
      The maximize size of a multipart request (file upload) ,,mkB6;  
      multipart请求信息的最大尺寸(文件上传用) O^G/(  
l*uNi47|  
struts.multipart.parser qd~)Ya1  
      The org.apache.struts2.dispatcher.multipart. \.myLkm  
      MultiPartRequest parser implementation for a multipart request (file upload) b')CGqbbmT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H)t YxW  
<%hSBDG!x  
bBAZr`<&U  
struts.multipart.saveDir !FipKX  
      The directory to use for storing uploaded files U4%d #  
      设置存储上传文件的目录夹 AOWX=`J8V  
v3Tr6[9  
struts.objectFactory \    
      The com.opensymphony.xwork2.ObjectFactory implementation class +`kfcA#pi  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {5 -4^|!  
K8Gc5#OF  
struts.objectFactory.spring.autoWire |@]J*Kh  
      Whether Spring should autoWire or not =+~e44!~D  
      是否自动绑定Spring bM_Y(TgJ  
f% ZqK_CW  
struts.objectFactory.spring.useClassCache K+dkImkh  
      Whether Spring should use its class cache or not K6@QZc5.!  
      是否spring应该使用自身的cache `j(\9j ok  
iOPv % [  
struts.objectTypeDeterminer '?E^\\"*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ldrKk'S,B  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cbsy&U  
zBay 3a  
struts.serve.static.browserCache G5ebb6[+  
If static content served by the Struts filter should set browser caching header properties or not b=:AFs{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N/DcaHFYo  
qW6a|s0}  
struts.serve.static 9@./=5N~3  
      Whether the Struts filter should serve static content or not HC*=E.J  
      是否struts过滤器应该提供静态内容 H!4!1J.=xw  
;TF(opW:  
struts.tag.altSyntax Bt[`p\p@  
      Whether to use the alterative syntax for the tags or not %Z 9<La  
      是否可以用替代的语法替代tags M A}=  
`Q1S8i$  
struts.ui.templateDir ;{ XKZ}  
      The directory containing UI templates A`Z!=og=  
      UI templates的目录夹 ]7O)iq%  
-2o4v#d  
struts.ui.theme VxLq,$B76  
      The default UI template theme (WR&Vt4Rh  
      默认的UI template主题 ;i^p6b j  
v#a`*^ ^  
struts.url.http.port M<r' j $g  
      The HTTP port used by Struts URLs Zn1+} Z@I  
      设置http端口 .6xP>!E}Q  
,E3"Ai sI  
struts.url.https.port {r`l  
      The HTTPS port used by Struts URLs S9 <J \`FG  
      设置https端口 \U4O*lq  
VmF?8Vi4  
struts.url.includeParams ?Vb=W)Es  
      The default includeParams method to generate Struts URLs JHwkLAuz  
      在url中产生 默认的includeParams &1%W-&bc6  
|rH;}t|un  
:t?9$ dL  
struts.velocity.configfile -. L)-%wIV  
      The Velocity configuration file path N $M#3Y;  
      velocity配置文件路径 ^ox^gw)  
q5 I2dNE  
struts.velocity.contexts x|_%R v  
      List of Velocity context names Zd1+ZH  
      velocity的context列表 /[VafR!  
! o:m*:  
M-K<w(,X  
struts.velocity.manager.classname 'C1=(PE%`  
      org.apache.struts2.views.velocity.VelocityManager implementation class AT<gV/1l  
      org.apache.struts2.views.velocity.VelocityManager接口名 "L1cHP~d  
]3 YJE P  
struts.velocity.toolboxlocation SGZOfTcY  
      The location of the Velocity toolbox F_/]9tz?;  
      velocity工具盒的位置 _K )B  
struts.xslt.nocache zawU  
      Whether or not XSLT templates should not be cached RU,f|hB 4  
      是否XSLT模版应该被缓存 e,={!P"f  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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