tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jann VanOver <>
Subject RE: web.xml
Date Tue, 28 Aug 2001 19:40:45 GMT
You made the changes and restarted Tomcat?  It all LOOKS good ... 

-----Original Message-----
From: Ruben Domene []
Sent: Tuesday, August 28, 2001 12:25 PM
Subject: RE: web.xml

I have done the changes, but i can´t execute the servlet. have i to modify
some file moreover?.
My directories structure is the next:

Thank you for your help.

-----Mensaje original-----
De: Jann VanOver []
Enviado el: martes, 28 de agosto de 2001 20:26
Para: ''
Asunto: RE: web.xml

According to your web.xml, your servlet class
(org.stevengould.javaworld.RequestDetails) is in a package so that package
hierarchy must be reflected in the directories:
      | -- classes/org/stevengould/javaworld/RequestDetails.class

-----Original Message-----
From: Ruben Domene []
Sent: Tuesday, August 28, 2001 11:07 AM
To: tomcat
Subject: web.xml

Hi, i try to execute a servlet but i can´t.
I have the nexts directorys:

In the WEB-INF directory it is the web.xml file with:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"




In the classes directory i have the class and

When i try "http://server:8080/SampleServlet" my console shows: "2001-08-28
09:54:17 - Ctx(  ): 404 R(  + SampleServlet + null) null".

What am i doing bad????
Thank you.

View raw message