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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ph5xW<VNP  
r A&#>R`  
struts.action.extension kKI!B`j=  
      The URL extension to use to determine if the request is meant for a Struts action 6='_+{   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 tle K (^  
7m@^=w  
struts.configuration Z"PDOwj5  
      The org.apache.struts2.config.Configuration implementation class  K{7S  
        org.apache.struts2.config.Configuration接口名 .LhbhUEfn  
"m\UqQGX  
struts.configuration.files lMI ix0sSj  
      A list of configuration files automatically loaded by Struts cC(ubUR  
      struts自动加载的一个配置文件列表 B "s8i{Vm  
@[Jt~v  
struts.configuration.xml.reload Xk7$?8r4&  
      Whether to reload the XML configuration or not 1&>nL`E[3  
      是否加载xml配置(true,false) faKrSmE!  
_mq*j^u,j  
struts.continuations.package [{fF)D<tC  
      The package containing actions that use Rife continuations WhVmycdv  
      含有actions的完整连续的package名称 a)yNXn8E_  
a5Acqa  
struts.custom.i18n.resources Dk. 9&9mz  
      Location of additional localization properties files to load lpX p )r+  
      加载附加的国际化属性文件(不包含.properties后缀) j)SgB7Q  
au9Wo<mR  
struts.custom.properties D aqy+:  
      Location of additional configuration properties files to load  *<h  
      加载附加的配置文件的位置 <8xP-(wk;  
M cMK|_H  
iTtAj~dfZ  
struts.devMode Aj)< 8  
      Whether Struts is in development mode or not v"?PhO/{=  
      是否为struts开发模式 QY CNO#*  
cq+M *1;  
struts.dispatcher.parametersWorkaround |SXMu_w  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [laL6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \?`d=n=  
,BN}H-W\2  
struts.enable.DynamicMethodInvocation 9"u @<]  
      Allows one to disable dynamic method invocation from the URL C`K9WJOD  
        允许动态方法调用 qjRiTIp9q  
I! eSJTN  
struts.freemarker.manager.classname H:nu>pz t  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class y^+[eT&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9W,}A Wf:Y  
8aIf{(/k  
struts.i18n.encoding 1Qc(<gM  
      The encoding to use for localization messages QW"6]  
      国际化信息内码 e|+;j}^C  
a\ 2Myj  
struts.i18n.reload >p+gx,N  
      Whether the localization messages should automatically be reloaded <)*g7  
      是否国际化信息自动加载 Q`wA"mw6k  
C?c-V,  
struts.locale NByN}e  
      The default locale for the Struts application g)G7 kB/<p  
      默认的国际化地区信息 SO jDtZ  
~uD;_Y=u)r  
struts.mapper.class dvdBRrf  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class DEeL 48{R  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 N55=&-p  
n N]vu  
struts.multipart.maxSize !A<XqzV]  
      The maximize size of a multipart request (file upload) NS/L! "g  
      multipart请求信息的最大尺寸(文件上传用) nO7o7bc  
\?ws0Ax  
struts.multipart.parser X52jqXjg  
      The org.apache.struts2.dispatcher.multipart. ;[\2/$-  
      MultiPartRequest parser implementation for a multipart request (file upload) Gw\HL  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r.G/f{=<@  
KD3To%  
a0j.\g  
struts.multipart.saveDir dfk TDG+  
      The directory to use for storing uploaded files {q>4:lsS  
      设置存储上传文件的目录夹 b2@x(5#  
I4p= ?Ds  
struts.objectFactory _e@qv;*  
      The com.opensymphony.xwork2.ObjectFactory implementation class F'_8pD7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) m_U6"\n 5  
z=h5  
struts.objectFactory.spring.autoWire .aH?H]^  
      Whether Spring should autoWire or not }Knq9cf  
      是否自动绑定Spring *B~:L"N  
v{*X@)$  
struts.objectFactory.spring.useClassCache _G*x:<  
      Whether Spring should use its class cache or not 3g "xm  
      是否spring应该使用自身的cache TF3q?0  
}8]uZ)[p=  
struts.objectTypeDeterminer 5J#g JFA  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nv[Sb%/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,* vnt6C*  
s3RyLT  
struts.serve.static.browserCache '\mZ7.Jj  
If static content served by the Struts filter should set browser caching header properties or not 3#ZKuGg=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {3uSg)  
Wjk;"_"gd  
struts.serve.static iOXP\:mPo  
      Whether the Struts filter should serve static content or not $u.T1v  
      是否struts过滤器应该提供静态内容 oK1[_ko|  
s!!t  
struts.tag.altSyntax 9i[2z:4HJ  
      Whether to use the alterative syntax for the tags or not m%(JRh  
      是否可以用替代的语法替代tags Gqc6).tn  
9i)mv/i  
struts.ui.templateDir [hj'Yg8{  
      The directory containing UI templates ;{7lc9uRj  
      UI templates的目录夹 @"7dk.|  
hGHzO  
struts.ui.theme ~u& O  
      The default UI template theme m95$V&  
      默认的UI template主题 Q&'Nr3H#tZ  
!! #ale&  
struts.url.http.port q5?mP6   
      The HTTP port used by Struts URLs Xz@;`>8i  
      设置http端口 #]HjP\C  
eQIi}\`  
struts.url.https.port Donf9]&U  
      The HTTPS port used by Struts URLs Ph_m'fbf  
      设置https端口 Y6DiISl  
9)hC,)5  
struts.url.includeParams * rANf&y  
      The default includeParams method to generate Struts URLs g]Ny?61  
      在url中产生 默认的includeParams 3VB V_/i;  
H#` ?toS  
O5*uL{pvT{  
struts.velocity.configfile =YsTF T  
      The Velocity configuration file path HON[{Oq  
      velocity配置文件路径 iDxgAV f*  
.7rsbZzs  
struts.velocity.contexts VQ 3&  
      List of Velocity context names o=2`N2AL  
      velocity的context列表 HUI!IOh  
*,*5sV  
Y }d>%i+  
struts.velocity.manager.classname ,$[lOFs  
      org.apache.struts2.views.velocity.VelocityManager implementation class CfnCi_=[`  
      org.apache.struts2.views.velocity.VelocityManager接口名 !K)|e4$  
<W^~Y31:0  
struts.velocity.toolboxlocation G ~\$Oq8  
      The location of the Velocity toolbox 8+|Lph`/?  
      velocity工具盒的位置 PelV67?M  
struts.xslt.nocache #(4hX6?5AI  
      Whether or not XSLT templates should not be cached Om{ML,d  
      是否XSLT模版应该被缓存 CI{TgL:l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八