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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 QL"gWr`R  
p}]q d4j  
struts.action.extension >',y  
      The URL extension to use to determine if the request is meant for a Struts action P#GD?FUc  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 AZFWuPJo  
|U[y_Y\a  
struts.configuration #_Ea[q7v  
      The org.apache.struts2.config.Configuration implementation class ^o<:;{  
        org.apache.struts2.config.Configuration接口名 SA6hbcYk  
FyD.>ot7M  
struts.configuration.files @%i>XAe#0  
      A list of configuration files automatically loaded by Struts (0*v*kYdL+  
      struts自动加载的一个配置文件列表 nYv#4*  
^6/j_G  
struts.configuration.xml.reload ;np_%?is  
      Whether to reload the XML configuration or not i8V0Ty4~N  
      是否加载xml配置(true,false) ]S8LY.Az5  
n~z\?Y=*  
struts.continuations.package G=M] 8+h  
      The package containing actions that use Rife continuations 4 9w=kzo  
      含有actions的完整连续的package名称 YaFcz$GE_  
-oBI+v&  
struts.custom.i18n.resources AfWl6a?T8:  
      Location of additional localization properties files to load rFag@Z"["  
      加载附加的国际化属性文件(不包含.properties后缀) #!!AbuhzK{  
>.dHt\  
struts.custom.properties 993d/z|DX  
      Location of additional configuration properties files to load Y4~vC[$ x'  
      加载附加的配置文件的位置 3\!F\tqD \  
oo'w-\2]p  
I"!'AI-  
struts.devMode ":WYcaSi  
      Whether Struts is in development mode or not *d*oS7  
      是否为struts开发模式 |i)lh_iN  
5 Rz/Ri\c=  
struts.dispatcher.parametersWorkaround ^JhFI*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e&J3N  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9$tl00  
N2~$r pU3  
struts.enable.DynamicMethodInvocation cIw eBDl  
      Allows one to disable dynamic method invocation from the URL ;bHfn-X  
        允许动态方法调用 hjY0w  
x72G^`Wv  
struts.freemarker.manager.classname ?M&4pO&Y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nlfPg-78B+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4UCwT1  
NM L|"R;  
struts.i18n.encoding DA <ynBQ  
      The encoding to use for localization messages n85r^W  
      国际化信息内码 RebTg1vGu  
N^$9;CKP=  
struts.i18n.reload me./o(!?  
      Whether the localization messages should automatically be reloaded 2,AaP*,  
      是否国际化信息自动加载 D3?N<9g  
Qyj(L[KJ  
struts.locale .w'vD/q;  
      The default locale for the Struts application R`He^  
      默认的国际化地区信息 &tBA^igXK  
 R<&FhT]  
struts.mapper.class $Xt;A&l2?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A^pW]r=Xtk  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 npj/7nZj  
aW`dFitpM  
struts.multipart.maxSize 3_J>y  
      The maximize size of a multipart request (file upload) +Jw{qQR/*  
      multipart请求信息的最大尺寸(文件上传用) WFh@%j  
aF])"9  
struts.multipart.parser T'R,vxP)\  
      The org.apache.struts2.dispatcher.multipart. ;:_(7|  
      MultiPartRequest parser implementation for a multipart request (file upload) ]C)|+`XE@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) t-lv|%+8  
:Y.e[@!1x  
vXubY@k2  
struts.multipart.saveDir 1l]C5P}E  
      The directory to use for storing uploaded files jaqV[*440U  
      设置存储上传文件的目录夹  4Iq5+Q  
4g!7 4a  
struts.objectFactory F!R2_89iy  
      The com.opensymphony.xwork2.ObjectFactory implementation class n#>5?W  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1 ;Ju]  
@ KJV1t`  
struts.objectFactory.spring.autoWire ?>)yKa#U  
      Whether Spring should autoWire or not L1MrrC  
      是否自动绑定Spring 7:kCb[ji"  
EW;1`x  
struts.objectFactory.spring.useClassCache ;.0LRWcJ  
      Whether Spring should use its class cache or not 3uO8v{`  
      是否spring应该使用自身的cache $NCm;0\B|  
k#jm7 +  
struts.objectTypeDeterminer Cgo XZX  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N(7u],(Om  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  8bbVbP  
~>w:;M=sV8  
struts.serve.static.browserCache 96)v#B?p  
If static content served by the Struts filter should set browser caching header properties or not fM9xy \.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5Jd` ^U  
S~|tfJpL  
struts.serve.static -R74/GBg  
      Whether the Struts filter should serve static content or not &NP6%}bR`  
      是否struts过滤器应该提供静态内容 ~*kK4]lP  
t[q3 {-  
struts.tag.altSyntax h&$Py  
      Whether to use the alterative syntax for the tags or not 7V/Zr  
      是否可以用替代的语法替代tags I}ndRDz[  
HSql)iT  
struts.ui.templateDir &z QWIv  
      The directory containing UI templates zi_[ V@Es/  
      UI templates的目录夹 Cn/q=  
(k#t }B[  
struts.ui.theme * 2%oZX F  
      The default UI template theme fr]Hc+7  
      默认的UI template主题 UhBz<>i;!  
n531rkK-   
struts.url.http.port qu!<lW~c  
      The HTTP port used by Struts URLs *cQz[S@F  
      设置http端口 7H?! RYrx  
_0*=u$~R  
struts.url.https.port @aUZ#,(<  
      The HTTPS port used by Struts URLs 'y eh7oR  
      设置https端口 aLHrl6"  
th9 0O|;  
struts.url.includeParams y0y+%H-  
      The default includeParams method to generate Struts URLs qAbd xd[  
      在url中产生 默认的includeParams d>~`j8,B  
T#/11M$uQ  
AD,@,|A  
struts.velocity.configfile 4NI ' (#l  
      The Velocity configuration file path XC2Q*Z  
      velocity配置文件路径 ]Qc: Zy3  
pdy+h{]3  
struts.velocity.contexts eoJFh  
      List of Velocity context names }R\B.2#M_@  
      velocity的context列表 <@%ma2  
#e*$2+`[A  
8W{ g  
struts.velocity.manager.classname Hj1k-Bs&'w  
      org.apache.struts2.views.velocity.VelocityManager implementation class ![j(o!6&  
      org.apache.struts2.views.velocity.VelocityManager接口名 |:}L<9Sq  
0x6@{0  
struts.velocity.toolboxlocation 8db6(Q~P  
      The location of the Velocity toolbox *eMLbU7  
      velocity工具盒的位置 /T{mS7EpYc  
struts.xslt.nocache |})rt5|f1!  
      Whether or not XSLT templates should not be cached ruWye1X;  
      是否XSLT模版应该被缓存 bf{Ep=-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五