First JSP Program

 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 server



Select 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

Popular posts from this blog

Software Engineering PPT

Software Engineering