This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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."
Joined: May 05, 2006
i have my catalina and java home variables set...still no solution...pls help....as to how am i suppose to proceed resource (first.jsp) not available...http status 404 help appreciated
thank you amal shah
Joined: Jul 04, 2006
I tried this with a simple setup as you told me, and everything works fine.