JSP Example on EclipsePritesh
JSP Environment Setup :
In the first step we need to create the dynamic web project, Right click in the project explorer window and select the Dynamic Web Project
Now you need to select the runtime by clicking on the “New Runtime“.
Click on the Next Button
Click on the Finish Button
Now create new jsp file – Right click on the webcontent and select jsp file.
Give appropriate name to the jsp file.
Eclipse will add default jsp code in the JSP file.
Now in the server view of eclipse, Right click on the Tomcat Server and Run it on the server.
Now click on finish