• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp processing

 
kiran nyala
Ranch Hand
Posts: 55
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

what actually happens behind JSP execution?

give me some hyperlinks to read..

thanks in advance
 
subodh k kumar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This might be helpful
http://onjava.com/pub/a/onjava/excerpt/jsp2_3/index2.html
 
Sanjeev P Kulkarni
Greenhorn
Posts: 20
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JSp execution/life cycle is given below:

1. jspInit(): This method is the called form the init() method. This method is of interface javax.servlet.jsp.JspPage. We can override this method. This method will be called once when the container loads the servlet for the first time.
2. _jspService(): This method is called from the servlet's service method. The container passes the Request and Response objects to this method. We can't override this method. It is a method of javax.servlet.jsp.HttpJspPage interface.
3. jspDestroy: This method is called by the servlet's destroy() method. We can override this method. It is a method of javax.servlet.jsp.JspPage interface.
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read Introduction to Jsps chapter in Head First Servlets & Jsps book.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!