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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %W:]OPURK  
Kitx%P`i  
struts.action.extension Zm~oV?6  
      The URL extension to use to determine if the request is meant for a Struts action mq*Efb)!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K`#bLCXEV0  
y:+4-1  
struts.configuration 2#?qey  
      The org.apache.struts2.config.Configuration implementation class tp3]?@0  
        org.apache.struts2.config.Configuration接口名 j65qIw_Z  
z6f N)kw  
struts.configuration.files /R% Xkb  
      A list of configuration files automatically loaded by Struts qKL mL2O  
      struts自动加载的一个配置文件列表 Y}Gf%Xi,  
X23#y7:  
struts.configuration.xml.reload eJ O+MurO  
      Whether to reload the XML configuration or not E ) iEWc  
      是否加载xml配置(true,false) j`A3N7;  
8C(@a[V  
struts.continuations.package ygn]f*;?kw  
      The package containing actions that use Rife continuations >;}q  
      含有actions的完整连续的package名称 d iGkwKj  
B%Vz -t  
struts.custom.i18n.resources (viGL|Ogn  
      Location of additional localization properties files to load #`(-Oj2hH  
      加载附加的国际化属性文件(不包含.properties后缀) Iurb?  
ueD_<KjE=  
struts.custom.properties 5h6c W  
      Location of additional configuration properties files to load wW?/`>@  
      加载附加的配置文件的位置 Oj~4uT&"  
mM6X0aM  
'ZboLoS*-  
struts.devMode RC>79e/u<  
      Whether Struts is in development mode or not jj$D6f/mOG  
      是否为struts开发模式 Kk?C   
WQ>y;fi5/{  
struts.dispatcher.parametersWorkaround r{pbUk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +P5\N,,7R  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) OPtFz6   
-{ M(1vV(=  
struts.enable.DynamicMethodInvocation zm7IkYF  
      Allows one to disable dynamic method invocation from the URL }cPH}[ $zF  
        允许动态方法调用 $>csm  
V0ig#?]  
struts.freemarker.manager.classname /3`(Ki{ Q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class gfY1:0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 HJ]9e  
.Fe_Z)i>h  
struts.i18n.encoding V^[B=|56  
      The encoding to use for localization messages p|f5w"QcH  
      国际化信息内码 Y_SB3 $])  
aHR&6zj4  
struts.i18n.reload e"@Ag:r@a  
      Whether the localization messages should automatically be reloaded &oXN*$/dlJ  
      是否国际化信息自动加载 9ER!K  
zD z"Dn9  
struts.locale ={]tklND  
      The default locale for the Struts application @7j$$  
      默认的国际化地区信息 Q`{2 yU:r  
X]T&kdQ6q  
struts.mapper.class LZ 3PQL  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class h:3^FV&#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  3 UX/  
lc8zF5  
struts.multipart.maxSize _ \LP P_  
      The maximize size of a multipart request (file upload) zHu w[  
      multipart请求信息的最大尺寸(文件上传用) \zMx~-2oN  
_Q=h3(ZI  
struts.multipart.parser w$1B|7tX;2  
      The org.apache.struts2.dispatcher.multipart. Ht_7:5v&   
      MultiPartRequest parser implementation for a multipart request (file upload) li7"{+ct  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L7rH=gZ&!]  
l =Is-N`  
?Tr\r1s]  
struts.multipart.saveDir }VDJ  
      The directory to use for storing uploaded files 5xIOi(3`Q  
      设置存储上传文件的目录夹 (ibj~g?U,  
]r\d 5  
struts.objectFactory Gj ka %  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^2 }p%j >  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4Y `=`{Q  
WLkfo6Nw  
struts.objectFactory.spring.autoWire `vc?*"  
      Whether Spring should autoWire or not k0^t$J W  
      是否自动绑定Spring P3op1/Np  
+F@ZVMp  
struts.objectFactory.spring.useClassCache IQNvhl.{  
      Whether Spring should use its class cache or not cI/Puh^3  
      是否spring应该使用自身的cache r' E|6_0  
8^2E77s4U  
struts.objectTypeDeterminer dZIruZ)x  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class X*QQVj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 g3Z"ri~!G  
eX3|<Bf  
struts.serve.static.browserCache 3@8Zy:[8<  
If static content served by the Struts filter should set browser caching header properties or not kl[Jt)"4@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <#%kmYSL  
4E 0 Y=  
struts.serve.static l37) Q  
      Whether the Struts filter should serve static content or not 5kdh!qy[$,  
      是否struts过滤器应该提供静态内容 qw35LyL  
tuIQiWHbM  
struts.tag.altSyntax <#>{7" }  
      Whether to use the alterative syntax for the tags or not 8d|#W  
      是否可以用替代的语法替代tags +txHj(Y`  
U%u%_{-  
struts.ui.templateDir >V|KS(}s  
      The directory containing UI templates y??^[ sB  
      UI templates的目录夹 ^"!)p2=  
]7:*A7/!.  
struts.ui.theme t=BXuFiu  
      The default UI template theme :9Mqwgk,;3  
      默认的UI template主题 -*AUCns#  
!'f.g|a  
struts.url.http.port m$!Ex}2  
      The HTTP port used by Struts URLs <4,LTB]9-  
      设置http端口 g7@.Fa.u'!  
gl>%ADOB@  
struts.url.https.port ;{:bq`56f  
      The HTTPS port used by Struts URLs [\,Jy8t)\  
      设置https端口 V \Sl->:  
YX{c06BHs  
struts.url.includeParams #.W^7}H  
      The default includeParams method to generate Struts URLs ?f&O4H  
      在url中产生 默认的includeParams gv}J"anD  
/pYp, ak  
%z "${ zw  
struts.velocity.configfile SsfHp  
      The Velocity configuration file path 7j~}M(s"  
      velocity配置文件路径 &{z RuF  
(>M? iB  
struts.velocity.contexts P`TJqJiY~  
      List of Velocity context names CEl9/"0s6  
      velocity的context列表 _4-UM2o;  
E;-*LT&{  
s^zX9IVnp  
struts.velocity.manager.classname {}DoRp q=  
      org.apache.struts2.views.velocity.VelocityManager implementation class +V;@)-   
      org.apache.struts2.views.velocity.VelocityManager接口名 }+dDGFk  
*9)yN[w  
struts.velocity.toolboxlocation 6u [ B}%l  
      The location of the Velocity toolbox 07#e{   
      velocity工具盒的位置 ds "N*\.  
struts.xslt.nocache 8/BWe ;4  
      Whether or not XSLT templates should not be cached ukwO%JAr  
      是否XSLT模版应该被缓存 b 67l\L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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