首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

struts2的web布到websphere中的有关问题,以及解决办法

2012-11-07 
struts2的web布到websphere中的问题,以及解决方法springside3的应用可以发布到 websphere6.1.0.27上,不过

struts2的web布到websphere中的问题,以及解决方法
springside3的应用可以发布到 websphere6.1.0.27上,不过有三点要注意

1. WebSphere升级到6.1.0.5之后的所有struts2的程序都会发生Action找不到的情况,解决方法如下,服务器>应用程序服务
器>[选择所使用的服务器]>Web 容器设置>Web 容器>定制属性,增加名称为
“com.ibm.ws.webcontainer.invokefilterscompatibility”的定制属性,值为true。
2. 把struts2 的所有包升级到 2.1.7
3. 在web.xml中加上 <welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

热点排行