<html><div style='background-color:'><DIV>
<P>I notice I had misspelled a few things after I had sent it. I also notice that Tomcat views Web-inf differently from
WEB-INF. It's seems to be case sensitive. And </P>
<P><!DOCTYPE web-app<BR> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN"<BR> "<A target=_blank
href="http://216.32.180.250/cgi-bin/linkrd?_lang=EN&lah=5359c574e6154f346127708e40aa7f4f&lat=1005314276&hm__
_action=http%3a%2f%2fjava%2esun%2ecom%2fdtd%2fweb%2dapp_2_3%2edtd"><FONT
color=#000099>http://java.sun.com/dtd/web-app_2_3.dtd</FONT></A>"><BR>doesn't exist.</P>
<P>I used</P>
<P><!DOCTYPE web-app<BR> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN"<BR> "<A target=_blank href="http://java.sun.com/dtds/web-app_2_2.dtd"><FONT
color=#000099>http://java.sun.com/dtds/web-app_2_2.dtd</FONT></A>"><BR></P>
<P>instead...</P>
<P>It's work great now...</P>
<P>Thanks<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>>From: Chanoch Wiggers <CHANOCHW@W...>
<DIV></DIV>>Reply-To: "Servlets" <SERVLETS@P...>
<DIV></DIV>>To: "Servlets" <SERVLETS@P...>
<DIV></DIV>>Subject: [servlets] RE: New to Running Servlets w/ Tomcat 4.0
<DIV></DIV>>Date: Fri, 9 Nov 2001 12:59:31 -0000
<DIV></DIV>>
<DIV></DIV>>comments in line:
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>server.xml contains
<DIV></DIV>><CONTEXT reloadable="true" debug="0" docBase="onjava" path="/onjava" />
<DIV></DIV>>
<DIV></DIV>>web.xml contains
<DIV></DIV>><?xml version="1.0" encoding="ISO-8859-1"?>
<DIV></DIV>>
<DIV></DIV>>> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
<DIV></DIV>> "http://java.sun.com/dtd/web-app_2_3.dtd">
<DIV></DIV>>
<DIV></DIV>><WEB-APP>
<DIV></DIV>> <SERVLET>
<DIV></DIV>> <SERVLET-NAME>login</SERLVET-NAME>
<DIV></DIV>> <!--------^ spelling mistake -->
<DIV></DIV>> <SERVLET-CLASS>com.onjava.login</SERVLET-CLASS>
<DIV></DIV>> </SERVLET>
<DIV></DIV>>
<DIV></DIV>> <SERVLET>
<DIV></DIV>> <SERVLET-NAME>login2</SERVLET-NAME>
<DIV></DIV>> <SERVLET-CLASS>login2</SERVLET-CLASS>
<DIV></DIV>> </SERVLET>
<DIV></DIV>></WEB-APP>
<DIV></DIV>>
<DIV></DIV>>URL is http://localhost:8080/onjava/servlet/login
<DIV></DIV>>
<DIV></DIV>>the error I get is
<DIV></DIV>>Apache Tomcat/4.0.1 - HTTP Status 404 - /onjava/servlet/login
<DIV></DIV>>
<DIV></DIV>>---------------------------------------------------------------------------
<DIV></DIV>>
<DIV></DIV>>type Status report
<DIV></DIV>>
<DIV></DIV>>message /onjava/servlet/login
<DIV></DIV>>
<DIV></DIV>>description The requested resource (/onjava/servlet/login) is not
<DIV></DIV>>available.
<DIV></DIV>>
<DIV></DIV>>Please help????
<DIV></DIV>>---
<DIV></DIV>>SIGS Conference for Java Development
<DIV></DIV>>Targeted, focused classes, expertise level classes
<DIV></DIV>>taught by Java gurus, rigorous tutorials, and
<DIV></DIV>>exhibit floor makes SIGS Conference for Java
<DIV></DIV>>Development a learning experience unlike any
<DIV></DIV>>other. Join over 10,000 developers and programmers
<DIV></DIV>>from across the U.S. and around the world who
<DIV></DIV>>have benefited from attending SIGS/101 Conferences.
<DIV></DIV>>http://www.javadevcon.com
<DIV></DIV>>---
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>---
<DIV></DIV>>SIGS Conference for Java Development
<DIV></DIV>>Targeted, focused classes, expertise level classes
<DIV></DIV>>taught by Java gurus, rigorous tutorials, and
<DIV></DIV>>exhibit floor makes SIGS Conference for Java
<DIV></DIV>>Development a learning experience unlike any
<DIV></DIV>>other. Join over 10,000 developers and programmers
<DIV></DIV>>from across the U.S. and around the world who
<DIV></DIV>>have benefited from attending SIGS/101 Conferences.
<DIV></DIV>>http://www.javadevcon.com
<DIV></DIV>>---
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a
href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>