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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }DFZ9,gQ  
J*D3=5&  
struts.action.extension %(A@=0r#  
      The URL extension to use to determine if the request is meant for a Struts action RgSB?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [oG Sy5bB  
-Ic<.ix  
struts.configuration s8+{##"1 q  
      The org.apache.struts2.config.Configuration implementation class AsO)BeUD  
        org.apache.struts2.config.Configuration接口名 v-&@c  
1 &-%<o  
struts.configuration.files ffG1QvC|M  
      A list of configuration files automatically loaded by Struts ) ^ 7- qy  
      struts自动加载的一个配置文件列表 I/_,24[  
|\T!,~  
struts.configuration.xml.reload Cig! 3  
      Whether to reload the XML configuration or not K`8$+JDP+  
      是否加载xml配置(true,false) ZsN3 MbY  
mk[<=k~  
struts.continuations.package >2ny/AK|  
      The package containing actions that use Rife continuations C *]XQ1F4  
      含有actions的完整连续的package名称 .6A{   
Lm7fz9F%  
struts.custom.i18n.resources Xu& v3Y~k  
      Location of additional localization properties files to load \4Z"s[8}  
      加载附加的国际化属性文件(不包含.properties后缀) %o_CD>yD  
\OVw  
struts.custom.properties 4?Qc&e{5  
      Location of additional configuration properties files to load } QpyU%  
      加载附加的配置文件的位置 yX1OJg[s,  
J~lKN <w  
zTg&W7oz  
struts.devMode %h}3}p#4  
      Whether Struts is in development mode or not MrhJk  
      是否为struts开发模式 &24>9  
4 IXa[xAm  
struts.dispatcher.parametersWorkaround $j&2bO 5M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lB(P+yY,/'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I 8 Ls_$[  
{jo"@&2S  
struts.enable.DynamicMethodInvocation gsVm)mkd  
      Allows one to disable dynamic method invocation from the URL -z'6.I cO  
        允许动态方法调用 =po5Q6@i  
Z[9f8/6<b  
struts.freemarker.manager.classname QA#Jx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @pV&{Vp  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4_w{~  
2YpJ4.  
struts.i18n.encoding T^H`$;\  
      The encoding to use for localization messages a]=j  
      国际化信息内码 DHh30b$c  
g>H\"cUv  
struts.i18n.reload cLm{gd4 W  
      Whether the localization messages should automatically be reloaded `.YMbj#T  
      是否国际化信息自动加载 vf?m-wh  
p/Ri|FD6  
struts.locale 6mC% zXR5  
      The default locale for the Struts application J4jL%5t  
      默认的国际化地区信息 gF&HJF 0x  
ZCDcf   
struts.mapper.class dgW/5g  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class tV9K5ON  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 * NdL4c~  
xB,(!0{`  
struts.multipart.maxSize Te@=8-u-  
      The maximize size of a multipart request (file upload) O],]\M{GL  
      multipart请求信息的最大尺寸(文件上传用) WxS$yUu  
X;3gKiD  
struts.multipart.parser JV;-P=o1B  
      The org.apache.struts2.dispatcher.multipart. ;(;{~1~  
      MultiPartRequest parser implementation for a multipart request (file upload) p"o_0 {8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )}4xmf@g l  
we2D!Ywr  
nHIW_+<Mf  
struts.multipart.saveDir 99?: 9g  
      The directory to use for storing uploaded files R2dCp|6A  
      设置存储上传文件的目录夹 wj|[a,(r  
q|kkdK|N/Y  
struts.objectFactory H1a<&7  
      The com.opensymphony.xwork2.ObjectFactory implementation class BYXMbx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _2nNCu (  
K5:>  
struts.objectFactory.spring.autoWire 8aa`0X/6  
      Whether Spring should autoWire or not ZqJyuTPv  
      是否自动绑定Spring yn KgNi  
xJF}6yPm@  
struts.objectFactory.spring.useClassCache V.~C.x  
      Whether Spring should use its class cache or not ec"+Il  
      是否spring应该使用自身的cache c~{)vL0K  
DT>Giic  
struts.objectTypeDeterminer LLW xzu!<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <wO8=bem  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 IjnO2X  
uz[5h0c  
struts.serve.static.browserCache cj9<!"6  
If static content served by the Struts filter should set browser caching header properties or not ,|Lf6k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Afo qCF  
Evb %<`gd  
struts.serve.static :WnF>zN  
      Whether the Struts filter should serve static content or not Nm,9xq  
      是否struts过滤器应该提供静态内容 Nk&$b  
0Nq6>^ %  
struts.tag.altSyntax \EOPlyf8x  
      Whether to use the alterative syntax for the tags or not SKrkB~%z  
      是否可以用替代的语法替代tags ~t.M!vk  
o~={M7 m  
struts.ui.templateDir %Astfn(U{4  
      The directory containing UI templates I+_u?R)$  
      UI templates的目录夹 K9+%rqC.|`  
R[{s\  
struts.ui.theme _S;Fs|p_  
      The default UI template theme g=_@j`  
      默认的UI template主题 ?(P3ZTk?.  
pZO`18z  
struts.url.http.port QzX|c&&>u2  
      The HTTP port used by Struts URLs 3( `NHS~h  
      设置http端口 Hv.n O-c  
Gs)2HR@>  
struts.url.https.port p:CpY'KV_  
      The HTTPS port used by Struts URLs "L~qsFL  
      设置https端口 X!ad~bt  
!pG_MO  
struts.url.includeParams Kitx%P`i  
      The default includeParams method to generate Struts URLs Mo_(WSs  
      在url中产生 默认的includeParams 6N {|;R@2  
Qfd4")zhG  
ibIo1i//[  
struts.velocity.configfile f*& 4d  
      The Velocity configuration file path GI$7uR}  
      velocity配置文件路径 *='J>z.]  
yPhTCr5pK  
struts.velocity.contexts ^-GzWT  
      List of Velocity context names u AmDXqJ 3  
      velocity的context列表 vS_Ji<W~E  
}* s%|!{H  
"de3S bj@?  
struts.velocity.manager.classname ,2?Sua/LD  
      org.apache.struts2.views.velocity.VelocityManager implementation class :Lze8oY(D}  
      org.apache.struts2.views.velocity.VelocityManager接口名 SWrP0Qjc  
N5\]VCX  
struts.velocity.toolboxlocation E+xC1U 3  
      The location of the Velocity toolbox pwG"_|h  
      velocity工具盒的位置 HE0@`(mCpa  
struts.xslt.nocache zUCtH*  
      Whether or not XSLT templates should not be cached L?slIGp%-  
      是否XSLT模版应该被缓存 ! >l)*jN8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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