Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Jsp JSP ARCHITECTURE

Related Tutorials


 
 

Share on Google+Share on Google+

JSP ARCHITECTURE

Advertisement
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.

 
Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: February 7, 2008

Related Tutorials

Discuss: JSP ARCHITECTURE   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:8
Ajay
June 9, 2011
NIce

Ultimate
pooja
March 14, 2013
jsp

it helps us to to do the project thanks to roseindia.com
srinivas
October 6, 2012
what is this?

why you are developed this web pages?
kjkjkjkjkj
October 31, 2012
hello

how we show the formated value
renu chauhan
November 15, 2012
jsp architecture

jsp architecture with diagram
prashuannaram
August 7, 2013
jsp

i want to jsp architecture
gudmam
August 17, 2013
Error in ur tutorial's pages

Please remove the tags/hyperlinks such as 'previous' ,'Index','Next' ,wherever it is not working or is of no use.For example in this page 'JSP Architecture' ,the mentioned hyperlinks are of no use,user remains on the same page.Same is the case with all other pages also,whenever visit the Topics under the heading 'JSP'.
vinoth
November 4, 2013
learning

to practice
DMCA.com