ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Deploying Web Applications to Tomcat
Subject:   Another Solution
Date:   2002-10-22 22:37:34
From:   zowens
Response to: Solution on 404 Tomcat Server side error !!

This is a great article, but I also had some trouble getting the example to work.

I followed the exact steps in the article and was getting a 404 error when submitting the login.jsp form. I changed my web.xml file to the following:

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

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


This is assuming you have your .jsp pages in the root of the project directory “TOMCAT_ROOT/webapps/onjava/”. With this fix there is no need to change the action for the form.

Alex, thanks for heading me in the right direction!

Good Luck!

1 to 1 of 1
  1. Solution works with servlets, but what about javabeans?
    2003-01-12 10:44:24  qrobur [View]

1 to 1 of 1