View RSS Feed

JSP

Jsp architecture

Rate this Entry
by
JSP
, 07-07-2012 at 05:04 PM (998 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:

HttpJspPage
JSPPage

These interfaces has 3 methods for JSP page. They are:

jspInit()
_jspService(HttpServletRequest request,HttpServletResponse response)
jspDestroy()

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

Submit "Jsp architecture" to Facebook Submit "Jsp architecture" to Digg Submit "Jsp architecture" to del.icio.us Submit "Jsp architecture" to StumbleUpon Submit "Jsp architecture" to Google

Categories
Tutorial

Comments