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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 T9-a uK0d  
\r,. hUp  
struts.action.extension L"%eQHEC&  
      The URL extension to use to determine if the request is meant for a Struts action W%K8HAP"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }Xv1KX'  
,D,f9  
struts.configuration G | oG:  
      The org.apache.struts2.config.Configuration implementation class *%'7~58ObS  
        org.apache.struts2.config.Configuration接口名 >[4|6k|\x  
4^_Au^8R(  
struts.configuration.files B-'BJ|*4I  
      A list of configuration files automatically loaded by Struts n@[</E(  
      struts自动加载的一个配置文件列表 t`t:qko  
%uqD\`-  
struts.configuration.xml.reload q<[ke   
      Whether to reload the XML configuration or not .eB"la|d  
      是否加载xml配置(true,false) {eN{Zh5"  
FKnQwX.0  
struts.continuations.package <D;Q8  
      The package containing actions that use Rife continuations bu]Se6%}  
      含有actions的完整连续的package名称 X3iRR{< @  
Ds,"E#?  
struts.custom.i18n.resources h=r< B\Pa  
      Location of additional localization properties files to load P3ev 4DL  
      加载附加的国际化属性文件(不包含.properties后缀) L4*fF  
 >E ;o"  
struts.custom.properties udI: ]:,P  
      Location of additional configuration properties files to load <sYw%9V  
      加载附加的配置文件的位置 BBE1}V!u  
%aE7id>v6  
(`.qG &6p  
struts.devMode G:C6`uiy`  
      Whether Struts is in development mode or not 8kM0  
      是否为struts开发模式 <ZC^H  
'# IuY  
struts.dispatcher.parametersWorkaround !XA%[u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !2U7gVt"*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Mth`s{sATa  
;6 6_G Sjz  
struts.enable.DynamicMethodInvocation }rA+W-7  
      Allows one to disable dynamic method invocation from the URL mYOdBd  
        允许动态方法调用 )LrCoI =|  
( WtE`f;Q  
struts.freemarker.manager.classname _6S b.9m  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .O%1)p  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $]U5  
]op^dW1;0_  
struts.i18n.encoding bo!]  
      The encoding to use for localization messages ~eOj:H  
      国际化信息内码 fQTA@WAr  
1o~U+s_r  
struts.i18n.reload LO}:Ub  
      Whether the localization messages should automatically be reloaded '[yqi1 &  
      是否国际化信息自动加载 mImbS)V  
?"<r9S|[O  
struts.locale uC*:#[  
      The default locale for the Struts application ^r$iN %&~  
      默认的国际化地区信息 ""v`0OP&J  
c]!D`FA*K  
struts.mapper.class Q @OC=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vV\F^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -,fa{yt-  
#[0\=B -  
struts.multipart.maxSize BOiz ~h6  
      The maximize size of a multipart request (file upload) ctUF/[_w;  
      multipart请求信息的最大尺寸(文件上传用) g=g.GpFt  
<AAZ8#^  
struts.multipart.parser r|\'9"@  
      The org.apache.struts2.dispatcher.multipart. eo*u(@  
      MultiPartRequest parser implementation for a multipart request (file upload) 6n6VEwYj  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /mB Beg^a  
BXK::M+  
Ril21o! j  
struts.multipart.saveDir &Wz`>qYL*  
      The directory to use for storing uploaded files BUA6(  
      设置存储上传文件的目录夹 Sd<@X@iU8D  
Fx[A8G  
struts.objectFactory rq(~/Yc  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,[}yf#8@J  
      com.opensymphony.xwork2.ObjectFactory接口(spring) c<h!QnJ  
^'u;e(AaE  
struts.objectFactory.spring.autoWire t3#H@0<  
      Whether Spring should autoWire or not F2PLy q  
      是否自动绑定Spring tC@zM.v%  
mQ ^ @ \s  
struts.objectFactory.spring.useClassCache o&XMgY~  
      Whether Spring should use its class cache or not w^'?4M!  
      是否spring应该使用自身的cache .xLF}{u  
C=dx4U~   
struts.objectTypeDeterminer *n*N|6 +  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PZ!dn%4jy  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >xZhK63C/  
ZP6 3Alt  
struts.serve.static.browserCache $uFh$f  
If static content served by the Struts filter should set browser caching header properties or not R<lNk<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 D _bkUR1  
5e/qgI)M5  
struts.serve.static l@tyg7CwY  
      Whether the Struts filter should serve static content or not MCi`TXr  
      是否struts过滤器应该提供静态内容 ^0s\/qyqm  
J%\~<_2ny  
struts.tag.altSyntax x'@32gv  
      Whether to use the alterative syntax for the tags or not >NH4A_  
      是否可以用替代的语法替代tags Oa}V>a  
VTJIaqw  
struts.ui.templateDir i#]aV]IT  
      The directory containing UI templates 1t\b a1x  
      UI templates的目录夹 Z4HA94  
D-o7yc"K  
struts.ui.theme b,rH&+2H  
      The default UI template theme 2i7i\?<.  
      默认的UI template主题 s?@)a,C%k  
<nb3~z1  
struts.url.http.port $p0 /6c  
      The HTTP port used by Struts URLs DD@)z0W  
      设置http端口 O+E1M=R6h  
S}m$,<x  
struts.url.https.port 1(%>`=R8  
      The HTTPS port used by Struts URLs @Ge>i5q  
      设置https端口 oxMUW<gYd  
aW=By)S!Y  
struts.url.includeParams PHRGhKJW})  
      The default includeParams method to generate Struts URLs 9b"9m*gC  
      在url中产生 默认的includeParams f E.L  
%su}Ru  
U BhciZ  
struts.velocity.configfile Y3P.|  
      The Velocity configuration file path ] ;pf  
      velocity配置文件路径 p- "Z'$A`  
Vedyy\TU  
struts.velocity.contexts ol$2sI=.s  
      List of Velocity context names M q^|M~  
      velocity的context列表 %Le:wC  
UK"}}nO@e  
':!3jZP"m  
struts.velocity.manager.classname yV J dZI  
      org.apache.struts2.views.velocity.VelocityManager implementation class '9*5-iO  
      org.apache.struts2.views.velocity.VelocityManager接口名 Q5p+W  
${eY9-r_%  
struts.velocity.toolboxlocation /B,:<&_-  
      The location of the Velocity toolbox RHwaJ;:)#  
      velocity工具盒的位置 =mHkXHE~:  
struts.xslt.nocache E7X!cm/2<  
      Whether or not XSLT templates should not be cached m/YH^N0  
      是否XSLT模版应该被缓存 >:F,-cx<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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