Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the life cycle of jsp?

Answer Posted / malligontla

THe generated servlet class for a JSP page implements the
HttpJspPage interface of the javax.servlet.jsp package.
HttpJspPage interface extends the JspPage interface which
inturn extends the Servlet interface of the javax.servlet
package. the generated servlet class thus implements all the
methods of the these three interfaces. The JspPage interface
declares only two mehtods - jspInit() and jspDestroy() that
must be implemented by all JSP pages regardless of the
client-server protocol. However the JSP specification has
provided the HttpJspPage interfaec specifically for the JSp
pages serving HTTP requests. This interface declares one
method _jspService().

The jspInit()- The container calls the jspInit() to
initialize te servlet instance.It is called before any other
method, and is called only once for a servlet instance.

The _jspservice()- The container calls the _jspservice() for
each request, passing it the request and the response objects.

The jspDestroy()- The container calls this when it decides
take the instance out of service. It is the last method
called n the servlet instance.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between system.out ,system.err and system.in?

1164


Explain about local interfaces.

1121


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2712


What is aop(assepct oriented programing)?

1121


How can I scroll through list of pages like the search results in google?

1013


Difference between hashmap and hashtable?

1233


What is a modular application? What does module-relative mean?

1123


What is scalable, portability in the view of J2EE?

2579


What class is the top of the awt event hierarchy?

1161


What are the diff types of exception?

1118


Can I map more than one table in a cmp?

1132


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2835


Why do I get a duplicate name error when loading a jar file?

1202


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

2208


what are the activation groupworks?

2254