Home
Position: 主页>jsp tutorial>

JSP Architecture

Time:2009-03-11 23:56soucre:未知 作者:webmaster home click:clicks
[标签:SY_简述]

   JSP pages are high level extension of servlet and it enable the developers to embed code in html pages. JSP files are finally compiled into a servlet by the JSP engine. Compiled servlet is used by the engine to serve the requests. x.servlet.jsp tutorial package defines two interfaces:
JSPPage HttpJspPage These interfaces defines the three methods for the compiled JSP page. These methods are: jsp tutorialInit() jsp tutorialDestroy() _jsp tutorialService(HttpServletRequest request,HttpServletResponse response)
In the compiled JSP file these methods are present. Programmer can define jsp tutorialInit() and jsp tutorialDestroy() methods, but the _jsp tutorialService(HttpServletRequest request,HttpServletResponse response) method is generated by the JSP engine. 

------line----------------------------
Recommend