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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2}[rc%tV:?  
q1r\ 60M  
struts.action.extension Oq*a4_R'YV  
      The URL extension to use to determine if the request is meant for a Struts action 5Lu m$C c}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 36J)O-Ti  
mrFMdpaHl%  
struts.configuration K._1sOw'"Y  
      The org.apache.struts2.config.Configuration implementation class ,{J2i#g<  
        org.apache.struts2.config.Configuration接口名 8}xU]N#EV  
2J9eeN  
struts.configuration.files S]<G|mn,  
      A list of configuration files automatically loaded by Struts hh+GW*'~  
      struts自动加载的一个配置文件列表 ~>>o'H6  
tI.(+-q  
struts.configuration.xml.reload g|)e3q{M  
      Whether to reload the XML configuration or not (niZN_qv  
      是否加载xml配置(true,false) 9^igzRn0  
nqgfAQsE)  
struts.continuations.package 3i >$g3G  
      The package containing actions that use Rife continuations +(PtOo.  
      含有actions的完整连续的package名称 at7/KuY!~  
BAX])~_  
struts.custom.i18n.resources bTO$B2eh|  
      Location of additional localization properties files to load d`({z]W;  
      加载附加的国际化属性文件(不包含.properties后缀) #0!C3it6c  
Y8\Ms^rz  
struts.custom.properties \Q^\z   
      Location of additional configuration properties files to load q?} G?n 4  
      加载附加的配置文件的位置 @m6pAo4P  
; wW6x  
MAJvjgd ..  
struts.devMode h2=zvD;  
      Whether Struts is in development mode or not Qksw+ZjY#{  
      是否为struts开发模式 ;1(OC-2>d  
DgClN:Hw  
struts.dispatcher.parametersWorkaround HeSnj-mtr}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7T4rx53  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d[TcA2nF  
,LcMNPr  
struts.enable.DynamicMethodInvocation SB$~Btr  
      Allows one to disable dynamic method invocation from the URL H#w?$?nIWu  
        允许动态方法调用 KgAc0pz{7H  
AuO%F YKY  
struts.freemarker.manager.classname 07/5RFmJ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dr'6N1B@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?ZTB u[  
27u$VHwb  
struts.i18n.encoding  9FWn  
      The encoding to use for localization messages dE ^(KBF  
      国际化信息内码 S1$\D!|1  
<9@VY  
struts.i18n.reload M$! 0ikh  
      Whether the localization messages should automatically be reloaded \+cQiN b@  
      是否国际化信息自动加载 Ls|;gewp  
35&&*$Jm  
struts.locale M{~eI  
      The default locale for the Struts application >V;<K?5B`W  
      默认的国际化地区信息 !p0FJ].g,  
@M,KA {e  
struts.mapper.class Rw$ @%o%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [K"v)B'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^QYI`u`4  
U$Ew,v<  
struts.multipart.maxSize >D-$M_  
      The maximize size of a multipart request (file upload) /f0_mi,bD  
      multipart请求信息的最大尺寸(文件上传用) _fMooI)U1  
NA0hQGN}  
struts.multipart.parser ry7(V:ic  
      The org.apache.struts2.dispatcher.multipart. K.X% Q,XD  
      MultiPartRequest parser implementation for a multipart request (file upload) Dt r'X@U  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5O*+5n  
i>!f|<  
R^PQ`$W 'R  
struts.multipart.saveDir *}mtVa_|  
      The directory to use for storing uploaded files _10#rucr  
      设置存储上传文件的目录夹 @XmMD6{<  
?.4.Ubc\  
struts.objectFactory 3%cNePlr  
      The com.opensymphony.xwork2.ObjectFactory implementation class x;b'y4kH  
      com.opensymphony.xwork2.ObjectFactory接口(spring) sjaG%f&h  
\u)s Zh  
struts.objectFactory.spring.autoWire ` -w;=_Bm  
      Whether Spring should autoWire or not c=@=lGgo  
      是否自动绑定Spring Z.h`yRhO  
r@ejU'uz  
struts.objectFactory.spring.useClassCache Aq";z.gi+  
      Whether Spring should use its class cache or not F6q}(+9i  
      是否spring应该使用自身的cache mtTJm4  
_a.Q@A4'  
struts.objectTypeDeterminer g|nPr)<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $1?YVA7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7 51\K`L  
Ge97e/ CY  
struts.serve.static.browserCache /CX<k gz@  
If static content served by the Struts filter should set browser caching header properties or not j?.VJ^Ff/u  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }F1^gN&QF  
zA+ ^4/M  
struts.serve.static ?cpID8Z  
      Whether the Struts filter should serve static content or not '4O1Y0K  
      是否struts过滤器应该提供静态内容 3}N:oJI$z  
<Ft.{aNq$c  
struts.tag.altSyntax ,l@hhaLm?  
      Whether to use the alterative syntax for the tags or not Ue l*:c  
      是否可以用替代的语法替代tags W6\s@)b;  
aEL6-['(  
struts.ui.templateDir hwC3['  
      The directory containing UI templates ~L}0) FZ\9  
      UI templates的目录夹 kM9E)uT>(<  
;OVJM qg  
struts.ui.theme sS+9ly{9J  
      The default UI template theme V qYe0-^=P  
      默认的UI template主题 yWX:`*GV  
^M,Q<HL  
struts.url.http.port g4-HUc zk  
      The HTTP port used by Struts URLs Yoaz|7LS  
      设置http端口 "}ZD-O`!  
{ >4exyu6  
struts.url.https.port $/pd[H[{  
      The HTTPS port used by Struts URLs IS8ppu&E  
      设置https端口 fQe-v_K  
ggbew6L$Z  
struts.url.includeParams {@C+Js5  
      The default includeParams method to generate Struts URLs R%5\1!Fl=G  
      在url中产生 默认的includeParams mD0pqK  
KU$.m3A>  
8-+IcyUza  
struts.velocity.configfile -5E%f|U  
      The Velocity configuration file path B04Br~hel*  
      velocity配置文件路径 w"aD"}3  
3RGVH,  
struts.velocity.contexts rL_AqSGAK1  
      List of Velocity context names 67J=#%\  
      velocity的context列表 rJg! 2  
&z,w0FOre  
fe&K2C%bm  
struts.velocity.manager.classname o[8Y%3  
      org.apache.struts2.views.velocity.VelocityManager implementation class -i 6<kF-W  
      org.apache.struts2.views.velocity.VelocityManager接口名 WE=`8`Li  
RAxA H  
struts.velocity.toolboxlocation 1?mQ fW@G  
      The location of the Velocity toolbox Y&+<'FA  
      velocity工具盒的位置 C' ny 2>uA  
struts.xslt.nocache `Y$LXF~,Om  
      Whether or not XSLT templates should not be cached Z*`CK^^~  
      是否XSLT模版应该被缓存 W\X51DrEx  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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