1)First of all you need to install Tomcat on your system.
2)Then put your tomcat folder inside the C drive.
3)Set the classpath in Environment variables.
4)Create a web application folder inside the webapps folder of apache tomcat.
5)Create a jsp file 'hello.jsp'.You can put your jsp file either inside the web application folder along with WEB-INF or you can create another folder for jsp application inside the web application folder. Inside the WEB-INF folder, create classes folder for servlets, lib folder for jar files and web.xml file.
6)Then go to the C:\apache-tomcat-6.0.16\bin and start the tomcat server by clicking the startup.bat. Open your web browser and put the following url:http://localhost:8080/examples/jsp/hello.jsp
Here examples is our web application folder and inside the jsp folder, we have put our jsp file 'hello.jsp'.
For more information, visit the following link:http://www.roseindia.net/jsp/