2 Minutes To Code (β Version)

JSP - 2 minute tutorial

Overview of Java Server Pages (JSP)

JSP (or Java Server Pages) are used to create web pages with dynamic content.

Its syntax is html-like and it is designed as a html developer friendly alternative for java servlets. You can get started with servlets using this 2 minute tutorial to java servlets. However, it is not a prerequisite for writing jsps.

To run JSPs, one needs a jsp container(like apache tomcat, jetty etc). This container internally converts jsp into a java servlet itself and samples of these are provided in examples later on.