File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes what is the difference between jsp and servlets life cycle?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "what is the difference between jsp and servlets life cycle??" Watch "what is the difference between jsp and servlets life cycle??" New topic
Author

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

senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
what is the difference between jsp and servlets life cycle??
Andy Bowes
Ranch Hand

Joined: Jan 14, 2003
Posts: 171
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 ]

Andy Bowes<br />SCJP, SCWCD<br />I like deadlines, I love the whoosing noise they make as they go flying past - Douglas Adams
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the difference between jsp and servlets life cycle??