You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by surinder singh <su...@bflsoftware.com> on 2000/09/04 16:13:30 UTC
unable to run servlets
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.