Ques : What is _jspService() – ?

, , No Comments

 jspService() is the method which is called every time the JSP page is

requested to serve a request. This method is defined in the javax.servlet.jsp.HttpJspPage
interface. This method takes HttpServletRequest and HttpServletResponse objects as an
arguments. The jspService() method corresponds to the body of the JSP page. It is defined automatically by the processor and should never be redefined by you. It returns no value. The underscore (‘’) signifies that you cannot override this method. The signature of the method
is as follows:

public void _jspService(
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException, java.io.IOException
{
// services handling code
}

0 टिप्पणियाँ:

Post a Comment