http 404 Fehler-Berichts-tomcat-eclipse

Ich bin wirklich neu in web-app und das ist mein erstes mal mit tomcat. Ich bekomme immer diese Meldung, wenn Sie versuchen, führen Sie index.jsp.

http 404 Fehler-Berichts-tomcat-eclipse

Bin ich mit eclipse indigo mit tomcat 6.0 (Tomcat v6.0 Server at localhost bereits gestartet und synchronisiert). Hab ich schon kopiert, ROOT-Ordner zu wtpwebapp, geprüft <Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
im server.xml die Datei, aber nichts scheint zu arbeiten.

Hier ist die server-Konfiguration:
http 404 Fehler-Berichts-tomcat-eclipse

Ich habe gerade angefangen index.jsp mit diesem:

    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"                                 "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    Hello World!
    </body>
    </html>

- und das ist meine web.xml

            <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
      <display-name>ChatBot</display-name>
      <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>default.html</welcome-file>
        <welcome-file>default.htm</welcome-file>
        <welcome-file>default.jsp</welcome-file>
      </welcome-file-list>
    </web-app>

Frage ich mich, was ist falsch...vielen Dank im Voraus.

InformationsquelleAutor bronze45 | 2012-12-03
Schreibe einen Kommentar