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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6t=)1T  
!&},h=  
struts.action.extension ~6=aoF5"3?  
      The URL extension to use to determine if the request is meant for a Struts action osn ,kD*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 XTJA"y  
cHC1l  
struts.configuration ^+w1:C5  
      The org.apache.struts2.config.Configuration implementation class ivg W[]  
        org.apache.struts2.config.Configuration接口名 xwu b-yz  
Vkf c&+  
struts.configuration.files qND:LP\_v  
      A list of configuration files automatically loaded by Struts e(I;[G +%,  
      struts自动加载的一个配置文件列表 4C[kj  
ASB3|uy_  
struts.configuration.xml.reload D+u\ORj  
      Whether to reload the XML configuration or not WMS~Bk+!  
      是否加载xml配置(true,false) +~EnrrT+W  
d ATAH}r&  
struts.continuations.package @=OX7zq\h-  
      The package containing actions that use Rife continuations dVMLn4[,MA  
      含有actions的完整连续的package名称 +7{8T{  
JkI|Ojmm/  
struts.custom.i18n.resources ydMhb367|  
      Location of additional localization properties files to load \*M;W|8aB  
      加载附加的国际化属性文件(不包含.properties后缀)  ;{Yr|  
!$/P8T``M  
struts.custom.properties ]@m`bs_6  
      Location of additional configuration properties files to load 7Y)i>[u3  
      加载附加的配置文件的位置 Bjh8uW G  
ju!V1ky  
b'I@TLE')  
struts.devMode <E:_9#Z0sc  
      Whether Struts is in development mode or not H6Ytp^~>  
      是否为struts开发模式 OKAmw >{  
ps^["3e  
struts.dispatcher.parametersWorkaround l3+G]C&<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (:^YfG~e  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {L \TO,  
>`|Wg@_  
struts.enable.DynamicMethodInvocation ;I6C`N  
      Allows one to disable dynamic method invocation from the URL |"[;0)dw^  
        允许动态方法调用 cYvt!M\ed  
YV'B*arIA  
struts.freemarker.manager.classname MShcZtN  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6\Tq,I7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *\_>=sS x;  
TxH amI l  
struts.i18n.encoding : rudo[L  
      The encoding to use for localization messages VF+g+~  
      国际化信息内码 NZlCn:"  
Bat@  
struts.i18n.reload DH bS=Iih  
      Whether the localization messages should automatically be reloaded [;l;kom  
      是否国际化信息自动加载 ^5)=) xVF  
4hYK$!"r  
struts.locale >[~`rOU*|Y  
      The default locale for the Struts application :;IZ|hU  
      默认的国际化地区信息 1(Z+n,Hh  
_n4_;0  
struts.mapper.class C' WX$!$d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'H"!%y{:i  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Nr}O6IJ>Sg  
!| q19$  
struts.multipart.maxSize I]42R;Sc  
      The maximize size of a multipart request (file upload) ,s 6lB0  
      multipart请求信息的最大尺寸(文件上传用) YgtW(j[  
YRv}w3yQ  
struts.multipart.parser uc\G)BN  
      The org.apache.struts2.dispatcher.multipart. R?dMM  
      MultiPartRequest parser implementation for a multipart request (file upload) k^#*x2b  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :G=ol2Q  
}*!_M3O  
b?2 \j}  
struts.multipart.saveDir *|cs_,3  
      The directory to use for storing uploaded files K.Cx 9  
      设置存储上传文件的目录夹 _`Y%Y6O1/  
=B`=f,,#3  
struts.objectFactory uLfk>&hc  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6KE64: \;  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ) % gU  
+ (`.pa z@  
struts.objectFactory.spring.autoWire p  S|  
      Whether Spring should autoWire or not ,>nf/c0.  
      是否自动绑定Spring \K lY8\c[  
qWXw*d1]  
struts.objectFactory.spring.useClassCache rKTc 6h:)  
      Whether Spring should use its class cache or not X|4Kdi.r@  
      是否spring应该使用自身的cache %6&c3,?U\n  
cnDF`7xrT  
struts.objectTypeDeterminer :3b\pEO9\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +S1h~@c:B  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m6@;!*Y  
<W^>:!?w  
struts.serve.static.browserCache f %P#.  
If static content served by the Struts filter should set browser caching header properties or not Gsy90  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )/z+W[t  
"b"|ay  
struts.serve.static R$">  
      Whether the Struts filter should serve static content or not ' R= OeH  
      是否struts过滤器应该提供静态内容 _+Uf5,.5yU  
Bi0&F1ZC!  
struts.tag.altSyntax LRdV_O1e6M  
      Whether to use the alterative syntax for the tags or not  ~!e(e2  
      是否可以用替代的语法替代tags Re1}aLd  
" "CNw-^t  
struts.ui.templateDir *N](Xtbj  
      The directory containing UI templates jk])S~xl?  
      UI templates的目录夹 @Dd(  
J|8 u  
struts.ui.theme n]K{-C;  
      The default UI template theme ;F/s!bupCM  
      默认的UI template主题 ei[,ug'  
QD 0p  
struts.url.http.port i}C%`1+(  
      The HTTP port used by Struts URLs T1RICIf 1F  
      设置http端口 Nu><r  
<fDbz1Q;l  
struts.url.https.port Enhrkk  
      The HTTPS port used by Struts URLs |+1k7S  ,  
      设置https端口 &qm:36Y7Xg  
.zJZ*\2ob  
struts.url.includeParams sw,p6T[  
      The default includeParams method to generate Struts URLs sb%l N   
      在url中产生 默认的includeParams sv#/78~|  
l YjPrA]TC  
|(5|6r3  
struts.velocity.configfile 92^Dn`g  
      The Velocity configuration file path %z["TVH  
      velocity配置文件路径 c`#4}$  
eS2VLVxu  
struts.velocity.contexts C+-sf  
      List of Velocity context names n:JG+1I  
      velocity的context列表 31mlnDif  
XK yW  
O9:J ^g  
struts.velocity.manager.classname p5bM/{DP;K  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,.,Y{CP  
      org.apache.struts2.views.velocity.VelocityManager接口名 TA+/35^?  
9~}8?kPNw=  
struts.velocity.toolboxlocation t\lx*_lr  
      The location of the Velocity toolbox  w1t0X{  
      velocity工具盒的位置 z9^_5la#  
struts.xslt.nocache |bjLmGb  
      Whether or not XSLT templates should not be cached CdiL{zH\3  
      是否XSLT模版应该被缓存 P)hawH=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五