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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 wHo#%Y,Nmi  
flm,r<*}  
struts.action.extension 9:}RlL+cOk  
      The URL extension to use to determine if the request is meant for a Struts action ~]6Oz;~<3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 b}EYNCw_7S  
's7SZ$(  
struts.configuration M rH%hRV6R  
      The org.apache.struts2.config.Configuration implementation class qw Kh,[]  
        org.apache.struts2.config.Configuration接口名 gOES2 4$2  
g#9*bF  
struts.configuration.files K\Y6 cj  
      A list of configuration files automatically loaded by Struts rH} Dt@  
      struts自动加载的一个配置文件列表 7Dx .;  
|RvpEy7 6  
struts.configuration.xml.reload E``!-W  
      Whether to reload the XML configuration or not 8+g|>{Vov  
      是否加载xml配置(true,false) RJ`/qXL  
')yF0  
struts.continuations.package tswG"1R  
      The package containing actions that use Rife continuations q)z1</B-  
      含有actions的完整连续的package名称 x9{Sl[2&  
 HPd+Bd  
struts.custom.i18n.resources r,Y/4(.c7U  
      Location of additional localization properties files to load +^]PBMM1w  
      加载附加的国际化属性文件(不包含.properties后缀) U(Hq4D  
}~Kyw7?  
struts.custom.properties b/D9P~cE  
      Location of additional configuration properties files to load 4<eJ  
      加载附加的配置文件的位置 J4K|KS7   
Is*0?9qU  
;03*qOYc  
struts.devMode A]~iuUHm  
      Whether Struts is in development mode or not 8en#PH }  
      是否为struts开发模式 6wvhvMkS  
,uqbS  
struts.dispatcher.parametersWorkaround 40l#'< y;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic MRl*r K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ik@Q@ T"  
gYH:EuY,  
struts.enable.DynamicMethodInvocation 1+PNy d  
      Allows one to disable dynamic method invocation from the URL gp|7{}Q{  
        允许动态方法调用 T$8$9D_u  
:BZx ) HxQ  
struts.freemarker.manager.classname oRJP5Y5na  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (1r>50Ge  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [2H(yLwO  
*v7& T  
struts.i18n.encoding 4[f7X4d$  
      The encoding to use for localization messages Pi]s<3PL  
      国际化信息内码 J!^~KN6[  
OD@@O9  
struts.i18n.reload scPq\Qd?O  
      Whether the localization messages should automatically be reloaded EuimZW\V  
      是否国际化信息自动加载 X-2S*L'  
qwq+?fj={  
struts.locale c402pj  
      The default locale for the Struts application 3vGaT4TDx  
      默认的国际化地区信息 $nd-[xV  
51(`wo>LS  
struts.mapper.class r@@eC['  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f6_|dvY3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 MFdFZkpiV  
u4*]jt;H  
struts.multipart.maxSize jiB>.te  
      The maximize size of a multipart request (file upload) 0|+hm^'_  
      multipart请求信息的最大尺寸(文件上传用) z1KC$~{O  
ThqfZl=V  
struts.multipart.parser Ai_|)  
      The org.apache.struts2.dispatcher.multipart. Bw/H'Y  
      MultiPartRequest parser implementation for a multipart request (file upload) M0IqQM57N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~aq?Kk  
\S@=zII_  
.gsu_N_v  
struts.multipart.saveDir wbF1>{/"  
      The directory to use for storing uploaded files 6%hEs6-R  
      设置存储上传文件的目录夹 BHBT=,sI  
lo;9sTUHT  
struts.objectFactory @f01xh=8  
      The com.opensymphony.xwork2.ObjectFactory implementation class u9~V2>r\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) xbH!:R;  
$8ww]}K  
struts.objectFactory.spring.autoWire A5H8+gATK  
      Whether Spring should autoWire or not VS@W.0/  
      是否自动绑定Spring xA1pDrfC/  
q}24U3ow  
struts.objectFactory.spring.useClassCache -bb7Y  
      Whether Spring should use its class cache or not @_:?N(%(  
      是否spring应该使用自身的cache v&/-&(+  
J3}C T  
struts.objectTypeDeterminer m_ONsZHy  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class jE5 9h  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o6yZ@R  
O09g b[  
struts.serve.static.browserCache `[u>NEb  
If static content served by the Struts filter should set browser caching header properties or not a ZCZ/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5N</Z6f'o  
n)7$xYuH  
struts.serve.static ]be2jQx3  
      Whether the Struts filter should serve static content or not &IPK5o,  
      是否struts过滤器应该提供静态内容 X!HSS/'  
v@1Jh ns  
struts.tag.altSyntax Hw.@Le>  
      Whether to use the alterative syntax for the tags or not `,]PM) iC  
      是否可以用替代的语法替代tags -#z'A  
vh3iu +  
struts.ui.templateDir <yaw9k+P  
      The directory containing UI templates IG@&l0ARL  
      UI templates的目录夹 0_Z|y/I.  
 Jy[8,X  
struts.ui.theme aZ0iwMK  
      The default UI template theme N0KRND  
      默认的UI template主题 ?U[nYp}"v  
{'bkU9+  
struts.url.http.port TZ_'nB~  
      The HTTP port used by Struts URLs *1]k&#s  
      设置http端口 _[Wrd?Z  
[*E.G~IS`  
struts.url.https.port t-m,~IoW  
      The HTTPS port used by Struts URLs pY5HW2TsY|  
      设置https端口 @uD{`@[  
$>37PVVW  
struts.url.includeParams l]=$<  
      The default includeParams method to generate Struts URLs EF{'J8AQ  
      在url中产生 默认的includeParams <g1hdF0  
yFtf~8s3  
`5jB|r/  
struts.velocity.configfile ~g|0uO}.  
      The Velocity configuration file path B{7/A[$%C  
      velocity配置文件路径 5Jd {Ev  
AS^$1i:  
struts.velocity.contexts mK/P4]9g  
      List of Velocity context names &jd<rs5}  
      velocity的context列表 } ZGpd9D  
&8L\FAY0%9  
QRa6*AYm  
struts.velocity.manager.classname A>@e pCD  
      org.apache.struts2.views.velocity.VelocityManager implementation class <T[ui  
      org.apache.struts2.views.velocity.VelocityManager接口名 epyYo&x}  
m)w- mc  
struts.velocity.toolboxlocation -\v8i.w0  
      The location of the Velocity toolbox >5W"a?(  
      velocity工具盒的位置 L 'Rapu  
struts.xslt.nocache 1caod0gor  
      Whether or not XSLT templates should not be cached [m&ZAq  
      是否XSLT模版应该被缓存 ]a~LA7VHO  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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