Interfaces

The javax.servlet.jsp package has two interfaces, HttpJspPage and JspPage.

HttpJspPage Interface

public interface HttpJspPage extends JspPage

This is the interface that a JSP processor-generated class for the HTTP protocol must satisfy. It extends JspPage and defines a single method.

_jspService() Method
public void _jspService(
       javax.servlet.http.HttpServletRequest request,
       javax.servlet.http.HttpServletResponse response)
       throws javax.servlet.ServletException,
       java.io.IOException

The _jspService method corresponds to the body of the JSP page. It is defined automatically by the JSP processor and should never be redefined by the JSP author. It returns no value.

Parameters
  • HttpServletRequest

  • HttpServletResponse

Exceptions Thrown ...

Get Pure Java Server Pages™ 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.