当前位置: 代码迷 >> J2EE >> 在tomcat上支配正常,到了websphere就不能部署上去,报web.xml出错
  详细解决方案

在tomcat上支配正常,到了websphere就不能部署上去,报web.xml出错

热度:248   发布时间:2016-04-22 02:50:23.0
在tomcat上部署正常,到了websphere就不能部署上去,报web.xml出错
下面是web.xml内容,帮我看看什么问题,谢谢!

<?xml   version= "1.0 "   encoding= "UTF-8 "?>

<web-app   xmlns= "http://java.sun.com/xml/ns/j2ee "
xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance "
xsi:schemaLocation= "http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd "
version= "2.4 ">
<display-name> CAIT   MisProject </display-name>
<context-param>
<param-name> javax.servlet.jsp.jstl.fmt.localizationContext </param-name>
<param-value> resources.application </param-value>
</context-param>
<context-param>
<param-name> javax.faces.CONFIG_FILES </param-name>
<param-value> /WEB-INF/config/faces-config.xml,/WEB-INF/config/project-faces-config1.xml </param-value>
</context-param>
<context-param>
<param-name> javax.faces.STATE_SAVING_METHOD </param-name>
<param-value> client </param-value>
</context-param>
<context-param>
<param-name> org.apache.myfaces.ALLOW_JAVASCRIPT </param-name>
<param-value> true </param-value>
</context-param>
<context-param>
<param-name> org.apache.myfaces.PRETTY_HTML </param-name>
<param-value> true </param-value>
</context-param>
<context-param>
<param-name> org.apache.myfaces.DETECT_JAVASCRIPT </param-name>
<param-value> false </param-value>
</context-param>
<context-param>
<param-name> org.apache.myfaces.AUTO_SCROLL </param-name>
<param-value> true </param-value>
</context-param>
<listener>
                <listener-class> org.apache.axis.transport.http.AxisHTTPSessionListener </listener-class>
                </listener>
        <listener>
<listener-class> com.cait.rescenter.webui.serverutils.GlobalListener </listener-class>
</listener>
<listener>
<listener-class> com.cait.rescenter.webui.serverutils.RequestListener </listener-class>
</listener>
<listener>
<listener-class> com.cait.rescenter.webui.serverutils.SessionListener </listener-class>
</listener>
<listener>
    <listener-class> org.apache.myfaces.webapp.StartupServletContextListener </listener-class>
</listener>
        <filter>
                <filter-name> extensionsFilter </filter-name>
                <filter-class> org.apache.myfaces.component.html.util.ExtensionsFilter </filter-class>
        </filter>
        <filter-mapping>
                <filter-name> extensionsFilter </filter-name>
                <url-pattern> *.jsf </url-pattern>
        </filter-mapping>
        <filter-mapping>
                <filter-name> extensionsFilter </filter-name>
                <url-pattern> /faces/* </url-pattern>
  相关解决方案