Regards,
Snehansh
snehansh konda wrote:Hi I am a Servlets and JSP newbie and I am getting a similar error. I am doing the sample program (Chapter 3) in HFSJ 2nd edition but I am using Java 6 and Tomcat 7 for learning JEE 6. I was able to complete the first two versions of the app but I am getting the error when I am trying to run the app using JSP.
The error is as given below:
type Status report
message /Beer-v1/result.jsp
description The requested resource (/Beer-v1/result.jsp) is not available.
This app is running when I replace the "result.jsp" as given in the book with a "hello.jsp" given in one of the examples provided in TOMCAT.
The environment variables set in my system are JAVA_HOME, CATALINA_HOME.
I have set the java path as well in CLASSPATH and PATH.
Also, I am typing the JSP code in notepad and saving it. Not using any editor till now.
Just to summarize my Tomcat page is opening normally after startup but when I try to redirect a servlet to a JSP I get the error that the JSP file is not available. When I replace this JSP with another one provided in the Example given by TOMCAT the entire app seems to work properly.
I have seen the previous posts and followed the steps accordingly but I am still getting the error.
Please suggest what steps are to be taken to solve this problem.
Regards,
Snehansh
"Value has a Value only if its value is valued!"
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Owee<br />SCJP 1.4
SCJP5
SCJP5
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Politics is a circus designed to distract you from what is really going on. So is this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|