To run JSP program, Follow these steps:
1)Install Apache Tomcat Server software in your c drive.
2)Create JSP page and save it with .jsp extension.
3)Go to the path C:\apache tomcat\webapps and create a folder. You can give any name to this folder and create jsp folder inside this folder and paste the jsp file inside it.
4)Then go to the path: C:\apache-tomcat-6.0.16\bin and start the tomcat server by clicking the startup.bat.
5)Open your browser and type the URL like this: http://locahost:8080/your_folder/jsp/Your_jsp_page_name.jsp
To create several JSP examples, visit the following link: http://www.roseindia.net/jsp