It contains of blogs of jsp.

Introduction to JSP

Limitations of servlet: Servlet as web application development technology has following drawbacks: 1. Developing web applications using servlet is unproductive i.e. a lot of code need to written even for simple tasks. 2. A servlet is responsible for dynamic content generation as well as presentation. This intermixing of dynamic content generation logic with the presentation […]

understanding JSP life cycle

The JSP life cycle: JSP life cycle is defined by JspPage and HttpJspPage interfaces. Similar to servlet, JSP life cycle has three methods: jspInit(), jspDestroy() and _jspService() . javax.servlet.jsp package contains classes and interface of JSP API. Main classes and interfaces of the JSP API are: JspPage: It extends Servlet interface and provides following JSP […]

declaration tag of jsp

The declaration tag of JSP: declaration tag in JSP facilitate data members and methods definition in the auto generated servlet. Main use of this tag is the overriding of jspInit() and jspDestroy() methods. You have been told that for each JSP a servlet is auto generated at the time of translation. If this class was […]