Home Jsp JSP ARCHITECTURE



JSP ARCHITECTURE
Posted on: February 7, 2008 at 12:00 AM
JPS pages are high level extension of servlet and it enable the developers to embed java code in html pages.

JSP ARCHITECTURE

     

 JSP pages are high level extension of servlet and it enable the developers to embed java 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.

javax.servlet.jsp package defines two interfaces:

  • JSPPage

  • HttpJspPage

These interfaces defines the three methods for the compiled JSP page. These methods are:

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

In the compiled JSP file these methods are present. Programmer can define jspInit() and jspDestroy() methods, but the _jspService(HttpServletRequest request,HttpServletResponse response) method is generated by the JSP engine.

 

Related Tags for JSP ARCHITECTURE:
ccomjspfilefilesservletsedrequestcompilepilintenginejsfinalmpitofinallyeiluseincompiledmntletjesrequestsstsallpiintosspginquestisllarrvssthstfinomo


More Tutorials from this section

Ask Questions?    Discuss: JSP ARCHITECTURE   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.