1. Click on Project (in my case JspDemo is my project)
2. Now click on src---> main --->Select WebApp folder
3. Now right click on webApp folder and click New--->Jsp File
4. Rename that jsp file with meaningful name (Example i give Login.jsp)
5. Click finish
So your JSP file is created
Here you can write java code inside scriptlet tag
Now select project and right click after run---> run on serverSelect tomcat and click next
after configure your project and click finish
Now jsp page is running on server
in url write your jsp page name and click enter
so your web application is live
Comments
Post a Comment