Steps to run JSP Program
If you are new to JSP, please first read what is JSP and how you can start working on it here at : http://www.roseindia.net/jsp/introduction.shtml
Now take a one step ahead and see how you can run your first JSP Application Program.
1. Write your JSP code or find it from the above given link and write it in any editor or notepad file.
2. Save your file as filename.jsp or xyz.jsp in C:\Program files\Apache group\Tomcat 4.1\webapps\root\filename.jsp
3. Now Start your Tomcat server
after you done with this, Open Internet Explorer and type this in the address barhttp://localhost:8080/
It will load your server
if you got error like this "cannot find" that means your server is not working.
Check it and run your server properly.
and then run your file with as given here...http://localhost:8080/filename.jsp
You can see your program working here............
this was the easiest way of running your first JSP application. For more on JSP read roseindia JSP tutorials.