tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Yi" <>
Subject RE: servlets fail on me
Date Tue, 01 Jul 2003 18:39:20 GMT
I had the same problem yesterday and other Tomcatters helped me out.
Add this web.xml to your application WEB-INF directory.

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

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




This should work, also check this out:


-----Original Message-----
From: R. J. []
Sent: Tuesday, July 01, 2003 1:22 PM
Subject: servlets fail on me

I just downloaded Tomcat Windows 4.1.24 version. After
I did all the configure, added application in Context
tag of server.xml, I wrote a very simple HelloWorld
servlet, compiled it, and restarted the Tomcat. It
keeps giving me the error page like this:<p>
<b>type</b> Status report<P>

<b>message</b> /apress/servlet/apress.Hello<p>

<b>description</b> The requested resource
(/apress/servlet/apress.Hello) is not available.

I don't have the problem if I try one of these servlet
examples from Tomcat examples application. I don't
have any problem of using my own JSP or JavaBean,
either. I don't have the problem before with earlier
Tomcat version. Only the direct call servlets this

I'd really appreciate if anyone would give me some
hints and advice. Thanks.

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message