Deploying Web Applications to Tomcat
Subject:   make it work with version 4.18 and above
Date:   2003-05-25 09:10:52
From:   anonymous2
Response to: make it work with version 4.18 and above

I have tried this suggestion and I still could not get it to work. I am running Tomcat 4.1.24 under Windows 2000 (Professional).

My web.xml file looks as follows:

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

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





My directory structure looks as follows:
=====> images (directory)
=====> login.jsp
=====> welcome.jsp
=====> WEB-INF
==========> web.xml
==========> classes
===============> com
====================> onjava
==========================> login.class

I have set the ServletContext in Tomcat's server.xml. My XML statement looks as follows:
<Context path="/onjava" docBase="onjava"
debug="1" reloadable="true"/>

I was successfull in deploying an HTML and JSP application using Tomcat's administration tool and ant. I am always getting the HTTP 404 error when I am deploying servlets.

Any help is highly appreciated.

Thank you.

1 to 1 of 1
  1. make it work with version 4.18 and above
    2003-06-19 02:58:58  anonymous2 [View]

1 to 1 of 1