tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "surinder singh" <surindersi...@bflsoftware.com>
Subject unable to run servlets
Date Mon, 04 Sep 2000 14:13:30 GMT
Tomcat Web Server v3.1 (standalone on port 8080) / RedHat linux 6.2 /
JDK1.2.2

I am putting a servlet named SimpleServlet.class in:
/usr/local/tomcat/webapps/WEB-INF/classes/

/usr/local/tomcat/webapps/WEB-INF/web.xml file contains(within doted
line):
--------------------
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">

<web-app>

</web-app>
-------------------------

I uninstalled default jdk1.1 that comes with redhat 6.2 and installed
jdk1.2.2 from sun. Earlier if i user to get output for:
http://164.164.58.187:8080/servlet/SimpleServlet

but now it is giving error:404 to the browser.

JDK1.2.2 is working fine and I feel the problem is with configuration of
tomcat. It is serving html pages properly.


Mime
View raw message