Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2009, 01:19 PM
Registered User
 
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Angry HTTP Status 404 - /TomcatProject/JSPDemo.jsp = ERROR

Hi All,

I was refering below link:-

http://plato.acadiau.ca/courses/comp...omcatTutorial/

I was able to complete upto Step 7, but after completing Step 8 I'm unable to see the output under tomcat, when I run <b>http://localhost:8080/TomcatProject/JSPDemo.jsp</b> I get above error.

I'm getting tomcat home page perfectly under <b>http://localhost:8080</b>, so can anybody help me out? what and where I'm doing wrong?

Also for better understanding I have tomcat, j2sdk1.4 & eclipse as below:-

C:\apache-tomcat-6.0.20

C:\j2sdk1.4.2_05

C:\eclipse

while configuring eclipse I gave workspace as:-

C:\eclipse\workspace and hence above TomcatProject project which I created under eclipse its path as:-

C:\eclipse\workspace\TomcatProject (with containing bin, WEB-INF other folders & files too)



Can anybody tell me how should I set env variable (just wanna double check):-

CLASSPATH = ;.;C:\j2sdk1.4.2_13\lib\tools.jar;C:\apache-tomcat-6.0.18\lib\servlet-api.jar;C:\apache-tomcat-6.0.18\lib\jsp-api.jar;

JAVA_HOME = C:\j2sdk1.4.2_05

CATALINA_HOME = C:\apache-tomcat-6.0.18

Path = C:\j2sdk1.4.2_05\bin



Feel free for any doubts

Thanks in advance

regards,
Kumar
 
Old October 5th, 2009, 01:15 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

First you can cross check whether the deployment was properly done or not by going in to the directory C:\apache-tomcat-6.0.20\webapps, check you've a directory 'TomcatProject' in it, and you've 'JSPDemo.jsp' file inside it.
__________________
- Rakesh
http://iam-rakesh.blogspot.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP Status 404 rivcam JSP Basics 7 June 3rd, 2008 09:32 PM
HTTP status 404-Servlet action is not available matrixbegins Struts 0 October 24th, 2007 11:09 PM
Can you help me to solve the Http 404 error. tytom2003 Pro PHP 2 July 4th, 2006 11:22 AM
HTTP status 404 brianjs JSP Basics 2 October 26th, 2003 03:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.