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

Can we call destroy() method inside the init() method? What
happens when we do so?

Answer Posted / ravikiran

a call to the destroy method will happen and the resources
will be released and the flow will continue as it is and
will throw an exception if the released resource is used
indie the service method call.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we share data using 'getservletcontext ()?

1024


Explain their methods? Tell me their parameter names also have you used threads in servlet?

1022


What do you mean by request dispatcher in servlet?

1098


What is the structure of the http response

1155


What is httpservlet and how it is different from genericservlet?

1075


What is called Session Tracking?

1170


What are the key methods that are involved in processing of http servlets?

1089


How does tomcat servlet container work?

1060


What methodology can be followed to store more number of objects in a remote server?

2261


If some new data has entered the database, explain how can a servlet refresh automatically?

1279


What are different ways for servlet authentication?

1086


What are the difference between session and cookies in servlet? Explain

1028


Why jsp is better than servlet?

1003


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

1081


How do you find out what client machine is making a request to your servlet

1040