すべて 最近、tomcat7からweblogic12へwebappを移行しました.jdkのバージョンは1.6.0.30です。私は完成したプロジェクトの戦争を展開した後、ログインページ(/login.htm)を開き、すなわち、このような例外をスロー:WebLogic12へのTomcatの移行
エラー404 - RFC 2068ハイパーテキスト転送プロトコルから見つかりません - HTTP/1.1: 10.4.5 404 Not FoundサーバがRequest-URIと一致するものを見つけられませんでした。条件が の一時的か永続的かは示されません。
クライアントが クライアントでこの情報を利用できないようにする場合は、ステータスコード403(禁止)を代わりに使用できます。サーバが知っていれば410 (ゴーン)ステータスコードは、古いリソースが 恒久的利用不可で転送アドレス
を持っていないことを、いくつかの 内部で設定可能なメカニズムを介して、使用されるべきです。ここで
は私のweb.xmlファイルである:
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <display-name>sys</display-name> <description>JSP application</description> <context-param> <param-name>contextConfigLocation</param-name> <param-value> classpath:spring/framework-data.xml, classpath:spring/framework-common.xml, classpath:spring/framework-query.xml </param-value> </context-param> <!--encoding--> <filter> <filter-name>sessionFilter</filter-name> <filter-class>com.wri.hy.framework.application.framework.security.controller.SessionFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>utf-8</param-value> </init-param> <init-param> <param-name>isCheck</param-name> <param-value>true</param-value> </init-param> </filter> <filter-mapping> <filter-name>sessionFilter</filter-name> <url-pattern>*.htm</url-pattern> </filter-mapping> <listener> <listener-class>com.wri.hy.framework.application.framework.security.controller.SessionListener</listener-class> </listener> <!--spring--> <servlet> <servlet-name>framework</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <init-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:spring/framework-servlet.xml</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <!--surpport WebApplicationContextUtils--> <servlet> <servlet-name>context</servlet-name> <servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!--Watcher--> <servlet> <servlet-name>watcher</servlet-name> <servlet-class>com.wri.hy.framework.application.framework.util.Watcher</servlet-class> <load-on-startup>2</load-on-startup> </servlet> <servlet> <servlet-name>DisplayChart</servlet-name> <servlet-class>org.jfree.chart.servlet.DisplayChart</servlet-class> </servlet> <servlet-mapping> <servlet-name>DisplayChart</servlet-name> <url-pattern>/servlet/displayChart</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>framework</servlet-name> <url-pattern>*.htm</url-pattern> </servlet-mapping> <session-config> <session-timeout>240</session-timeout> </session-config> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <!--error-page> <error-code>404</error-code> <location>/fileNotFound.html</location> </error-page--> </web-app>
私はこの問題のために何ができますか?ここにはパズルのための活発な場所があり、どんな反応もアピールされています。ありがとう。
質問のタイトルは「Websphere12」に移行することを示していますが、これは「WebLogic 12」にする必要がありますか?同様に、タグも同様に更新することができます。 – shelley
ありがとう、それは私の間違いです – user1133911