Name

HttpJspPage

Synopsis

The HttpJspPage interface must be implemented by the generated JSP page-implementation classes when HTTP is used.

The jspInit( ) and jspDestroy( ) methods (inherited from the JspPage interface) can be defined by a JSP page author, but the _jspService( ) method is defined automatically by the JSP container based on the contents of the JSP page.

Synopsis

Interface name:

javax.servlet.jsp.HttpJspPage

Extends:

javax.servlet.jsp.JspPage

Implemented by:

JSP page-implementation classes serving HTTP requests

Methods

public void _jspService(javax.servlet.http.HttpServletRequest request,

javax.servlet.http.HttpServletResponse response)

throws javax.servlet.ServletException, java.io.IOException

This method corresponds to the body of the JSP page. This method is defined automatically by the JSP processor and should never be defined by the JSP page author.

Get JavaServer Pages, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.