Java JSP
- Java Server Pages
- A
server sidetechnology - Used to create dynamic web content
Tagsare used to insertJAVAcode intoHTMLpages- An advanced version of Servlet Technology,
Extension to Servlet, it has all features of servlets, implicit objects and custom tags - JSP is first converted into servlet by JSP container before processing the client’s request
Difference between Servlet and JSP
- Servlet
A Servlet is a
Java classwhich is used toextendthe capabilities ofserversthat host applications accessed by means of a request-response model. Servlets can respond toother types of requests too. - JSP
A JSP is a
text documentwhich containstwo typesof text:static dataanddynamic data. The static data can be expressed in anytext-based format(like HTML, XML, SVG and WML), and the dynamic content can be expressed byJSP elements.