Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: 404 HTTP Not Found


Message #1 by "Thang Nguyen" <thanghuunguyen@h...> on Sun, 12 Aug 2001 04:42:24
So you can see what your problem is, just download the war files off the
web site and place the ch03.war file in the $CATALINA_HOME/webapps
directory and restart Tomcat. The Ch03.war should automatically expand
out and all the examples from the book should work. Good Luck.

Kevin

-----Original Message-----
From: Thang Nguyen [mailto:thanghuunguyen@h...] 
Sent: Sunday, August 12, 2001 4:44 AM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] 404 HTTP Not Found


Hi, 
I'm reading chapter 03 and 04 ,Professional JSP 2nd but I didn't 
understand something :
After I finished installation Tomcat 4.0 beta 6 ,I called all of
examples 
in Tomcat. Everything OK ,After that I called TimeServlet1,
TimeServlet2, 
TimeServlet3, all also good.
But when I called myFirstJsp via 
http://localhost:8080/ch04/jsp/myFirstJsp.jsp ,web browser message that 
HTTP 404 Not Found. I didn't understand why .
This is my web server's configuration

Window2000 Professional

JDK 1.3 

jakarta-tomcat-4.0-b6

CLASSPATH: 
%CLASSPATH%;%CATALINA_HOME%\common\lib\servlet.jar;%CATALINA_HOME%
\webapps\ch03\WEB-INF\classes;

PATH : D:\jdk1.3\bin
JAVA_HOME: D:\jdk1.3

So I want to ask one more question:
I could put all chapters in projsp directory after webapps directory  to

easy manage, If I want to called which class ,I will type 
http://localhost:8080/projsp/ch04/jsp/myFirstJsp.jsp or

http://localhost:8080/projsp/ch03/servlet/Time2

I tried to do but web browser message 404 HTTP Not Found.

Can you help me to solve these prolems?

Thank you very much. 


  Return to Index