p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Servlets (http://p2p.wrox.com/forumdisplay.php?f=111)
-   -   HTTP Status 404 - /TomcatProject/JSPDemo.jsp = ERROR (http://p2p.wrox.com/showthread.php?t=75620)

gk03 August 9th, 2009 01:19 PM

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

iamrakesh22 October 5th, 2009 01:15 AM

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.


All times are GMT -4. The time now is 04:58 AM.

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