tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Winifred Sanchez" <>
Subject running servlets
Date Fri, 16 Feb 2001 11:27:05 GMT
I copied some sample servlets from the examples context into another context I made to see
if they would run. But they won't run. I have placed the servlets inside the WEB-INF/classes
directory just like in the examples context and also made a web.xml file under WEB-INF with
the following lines:

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


I'm trying to access the servlet with:

but I keep on getting

Error: 404

Location: /context/servlet/SessionExample

How do I make the servlet work?

I am using Tomcat 3.1 with Apache handling static pages.


Get your small business started at Lycos Small Business at

View raw message