• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat Error 404  RSS feed

Web Runner
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this must be a common topic, but I have tried many of the things suggested here and elsewhere, without success.
My setup is based on the first example (around p. 12) of "Java for the Web with Servlets, JSP, and EJB" by Budi Kurniawan.
This is the error I am getting:
HTTP Status 404 - /myApp/servlet/Testing
type Status report
message /myApp/servlet/Testing
description The requested resource (/myApp/servlet/Testing) is not available.
Apache Tomcat/4.1.18-LE-jdk14
This is my web.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<servlet> <servlet-name>Testing</servlet-name>
My Tomcat is installed in:
C:\Program Files\Apache Group\Tomcat 4.1\
and my application folder (myApp) is %CATALINA_HOME%\webapps\myApp\
I am also running j2sdk1.4.1_01
and j2sdkee1.3.1.
Also, I do get this page:
as well as the examples in:
Could someone help me resolve why I keep getting the 404 error?
Is is that I have installed to a long-named path with spaces? Is it the location of my app folder?
Any help would be greatly appreciated, as this error is driving me nuts!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!