by, 07-07-2012 at 05:04 PM (1010 Views)
JSP pages are considered to be the higher leveled servlet extension which make developers able to do embedding of the java code into HTML. Finally, JSP files get compiled in servlet by the help of servlet engine. Compiled servlet serve the requests when is used by the engine.
javax.servlet.jsp package has 2 interfaces:
These interfaces has 3 methods for JSP page. They are:
• _jspService(HttpServletRequest request,HttpServletResponse response)
These methods are there in compile fiels of JSP. Programmers would be defining the jspDestroy() or jspInit() methods, however JSP engine generates HttpServletResponse response) or _jspService(HttpServletRequest request