
JSP/JSTL
JSP
Java Server Pages (JSP) enables developers to dynamically generated web pages which are based on HTML, XML and other formats of documents. It commands the appearance of web page with the Servlets. It is also called Servlets Application Program Interface (API). It can be used independently or as the component of server side MVC design.
Benefits of JSP
Performance is very good as it allows embedding dynamic elements in HTML pages. This is very easy to write, JSP tags can be used for variety of purpose like retrieve the information from the sever or registering the user preferences.
Version worked on
- 2.1
- 2.2
JSTL
This is a Standard Tag Library and is collection of very useful JSP tags which comprises the core functionality common to many JSP applications. JSTL provide supports for common tasks like iteration and conditional, tags for manipulating XML documents and SQL tags, it also provide the framework to integrate already existing custom tags with JSTL tags.
Benefits of JSTL
JSTL is very easy to write as this is based on XML, it reduces the time of HTML programmer who want to work in JSTL. It’s easier for HTML tools to parse the JSTL code that is contained in document, because JSTL is always expressed in XML compliant tags.
Version worked on
- 1.2
- 1.2.1