Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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:-


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:-




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

Reply With Quote
  #2 (permalink)  
Old October 5th, 2009, 01:15 AM
Friend of Wrox
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post

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
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 11:03 PM.

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