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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "%Ief4  
'uzHI@i  
struts.action.extension 9e.v[K~  
      The URL extension to use to determine if the request is meant for a Struts action 43g1/,klm  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9b6U] z,  
3u t<o-  
struts.configuration ^f N/  
      The org.apache.struts2.config.Configuration implementation class ?*UWg[  
        org.apache.struts2.config.Configuration接口名  R`o Xkj  
@ o<O I  
struts.configuration.files [g`4$_9S  
      A list of configuration files automatically loaded by Struts %<+Ku11  
      struts自动加载的一个配置文件列表 oR%cG"y  
L{1[:a)']B  
struts.configuration.xml.reload $ r-rIW5\  
      Whether to reload the XML configuration or not PDH|=meXM  
      是否加载xml配置(true,false) 4h?@D_{k  
CXGMc)#>f  
struts.continuations.package [T9]q8"  
      The package containing actions that use Rife continuations C[{E8Tg/  
      含有actions的完整连续的package名称 H6 ,bpjY  
) iV^rLwL  
struts.custom.i18n.resources KXz7l\1Gb  
      Location of additional localization properties files to load pm9sI4S  
      加载附加的国际化属性文件(不包含.properties后缀) A.yIl`'UP#  
P}=n^*8(I  
struts.custom.properties *'?V>q,  
      Location of additional configuration properties files to load OK-*TPrc  
      加载附加的配置文件的位置 T+gH38!e  
XxeP;}  
yzl}!& E  
struts.devMode )b%zYD9p  
      Whether Struts is in development mode or not QxbG-B^)=  
      是否为struts开发模式 PB*G#2W  
toU<InN  
struts.dispatcher.parametersWorkaround 4K HIUW$  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic v.sjWF  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <3ep5`1   
O9<oq  
struts.enable.DynamicMethodInvocation sSk qU  
      Allows one to disable dynamic method invocation from the URL k|RY; 8_  
        允许动态方法调用 }Q9+krrow  
7wY0JS$fz  
struts.freemarker.manager.classname eVX/<9>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Rxr?T-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 eu]qgtg~U  
a6A~,68/V  
struts.i18n.encoding oV9{{  
      The encoding to use for localization messages M @G\b^"  
      国际化信息内码 GbQg(%2F  
hAds15 %C  
struts.i18n.reload vqVwo\oEdU  
      Whether the localization messages should automatically be reloaded Kv:.bHN}  
      是否国际化信息自动加载 pI.8Ip_r  
RZVZ#q(DU  
struts.locale n'j}u  
      The default locale for the Struts application a*&&6Fo  
      默认的国际化地区信息 tCRsaDK>  
A"qDc  
struts.mapper.class ^R :zma  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "E4CQL'U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ang~_Ec.  
NYKYj`K  
struts.multipart.maxSize YUTh*`1k<  
      The maximize size of a multipart request (file upload) pVzr]WFx  
      multipart请求信息的最大尺寸(文件上传用) BW3Q03SW6  
m$hkmD|  
struts.multipart.parser '~7zeZ'  
      The org.apache.struts2.dispatcher.multipart. ?I+$KjE+  
      MultiPartRequest parser implementation for a multipart request (file upload) 6Hy_7\$(-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0"GLgj:9  
$Fi1Bv)  
b?!S$Sxz  
struts.multipart.saveDir S{)K_x  
      The directory to use for storing uploaded files <gFisc/#r  
      设置存储上传文件的目录夹 ^xScVOdP  
L&=r-\.ev  
struts.objectFactory u(hJyo}  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0N]\f.=`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GjN6Af~}  
q<^MC/]  
struts.objectFactory.spring.autoWire 9; 9ge  
      Whether Spring should autoWire or not Q.3:"dT  
      是否自动绑定Spring X f;R'a,$  
iv],:|Mbd  
struts.objectFactory.spring.useClassCache 2 p}I  
      Whether Spring should use its class cache or not 4hfq7kq7(  
      是否spring应该使用自身的cache zK_P3r LsS  
zTPNQ0=|  
struts.objectTypeDeterminer X(.[rC>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .r-Zz3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JrX. f  
ZzQLbCV  
struts.serve.static.browserCache ZCBF&.!  
If static content served by the Struts filter should set browser caching header properties or not !&.-{ _$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i6P$>8jBQ-  
3xdJ<Lrq  
struts.serve.static Q W c^}#!!  
      Whether the Struts filter should serve static content or not $-jj%kS  
      是否struts过滤器应该提供静态内容 \hEIQjfi  
qu'D"0  
struts.tag.altSyntax iweT @P`  
      Whether to use the alterative syntax for the tags or not XWNo)#_3  
      是否可以用替代的语法替代tags 2AMb-&po&f  
k!bJ&} Q(b  
struts.ui.templateDir 35x]'  
      The directory containing UI templates }J-e:FUF#  
      UI templates的目录夹 1_;{1O+B  
*(5T?p[7  
struts.ui.theme ~4twI*f  
      The default UI template theme C9""sVs  
      默认的UI template主题 G;[O~N3n.  
~6O~Fth  
struts.url.http.port R[* n3 wB  
      The HTTP port used by Struts URLs !g)rp`?  
      设置http端口 r1}1lJ>7H  
h qhX  
struts.url.https.port |QR9#Iv  
      The HTTPS port used by Struts URLs ;R<V-gab  
      设置https端口 $b7@S`5  
})?-)fFD  
struts.url.includeParams f#7=N{wm  
      The default includeParams method to generate Struts URLs S,avvY.U\  
      在url中产生 默认的includeParams GDiyFTr  
q"S,<I<f  
lF40n4}  
struts.velocity.configfile 9`"#OQPn1  
      The Velocity configuration file path B[#n,ay  
      velocity配置文件路径 W:9l"'  
f/\S:x-B  
struts.velocity.contexts 7[K3kUm[  
      List of Velocity context names z!.cc6R  
      velocity的context列表 N 6\Ey{  
oS<Gj I:  
Y}Dk>IG  
struts.velocity.manager.classname ?4aW^l6/  
      org.apache.struts2.views.velocity.VelocityManager implementation class %q9"2] cR  
      org.apache.struts2.views.velocity.VelocityManager接口名 T2tvU*[=  
Zw'050~-  
struts.velocity.toolboxlocation \I<R.4 9oW  
      The location of the Velocity toolbox "Y4glomR[  
      velocity工具盒的位置 pp7 $Q>6  
struts.xslt.nocache [ gZR}E  
      Whether or not XSLT templates should not be cached / ;[x3}[  
      是否XSLT模版应该被缓存 c^puz2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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