• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what is the difference between jsp and servlets life cycle??

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is the difference between jsp and servlets life cycle??
 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The only difference is that there is an additional step with JSPs that compiles the JSP to a servlet before it is instantiated and initialised.
There are a couple of additional methods on the JSPPage interface which is implemented by the servlets generated from JSPs that allow the Web Container to be notified when JSP pages are loaded or unloaded but you don't need to concern yourself with these methods.
At the end of the day JSPs are just a really good way to create servlets without needing to write too much Java code.
HTH
Andy Bowes
[ May 08, 2003: Message edited by: Andy Bowes ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic