i have all these files placed at their required locations html and jsp under webapps/root...and servlet under classes root is the name of application i have my html calling servlet...and servlet calling the jsp file initially i call my html and things goes well...and when a request is made from html file it shows that requested resource (first.jsp) not available servlet file compiled fine...and got .class version of it i wrote the jsp code in a notepad and saved it as first.jsp i assume that we don't compile jsp file...container does for us..placed first.jsp text file as it is under webapps/root
there is no syntax problem with any of these files...how to about solving this problem...help appreciated.
I hope that you have set the CATALINA_HOME and JAVA_HOME environment variable. If not below is the procedure to do it.
1. Right Click "My Computer", select Properties. 2. Click 'Advanced' Tab 3. Click 'Environmental Variables' Button 4. Under 'User Variables XXXX' frame, click the New button 5. Give the Variable name as 'CATALINA_HOME' and values as the root directory of the Tomcat folder eg: 'C:\jakarta-tomcat-X.X.X' 6. similary add a new variable called 'JAVA_HOME' and give the value as jdk root directory eg:- 'C:\j2sdk1.4.2_11' 7. Now reboot the machine, and start using your application.
When the world says, "Give up,"<br />Hope whispers, "Try it one more time."