Hello,
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">
<web-app>
<servlet> <servlet-name>
Testing</servlet-name>
<servlet-class>TestingServlet</servlet-class>
</servlet>
</web-app>
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:
http://localhost:8080/index.jsp as well as the examples in:
http://localhost:8080/examples 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!
Thanks,
web-runner