To develop and execute a simple JSP application with Tomcat Server, we follow the following steps:
For creating a dynamic web project click on File Menu -> New -> dynamic web project -> write your project name e.g. jspdemo ->next->next-> Finish.
For creating a jsp file explore the project by clicking the + icon -> right click on WebContent -> New -> jsp -> write your jsp file name e.g. index-> Finish.
After creting index.jsp file we will write the code, like:
Then start the server and run the project (right click on project-> Run as-> Run on Server):
Now we will get the following: