Results 1 to 3 of 3

Thread: servlet

  1. #1
    Junior Member
    Join Date
    Oct 2007

    Question servlet

    Can be call servlet init() methos in destroy(),if yes,then what wil happen

  2. #2
    Junior Member
    Join Date
    Jan 2007

    Re: servlet

    it should throw some exception i guess , as the init() method is called only once during the life cycle of a servlet.

  3. #3
    Expert Member
    Join Date
    Mar 2012

    Re: servlet

    When we call servlet init() methos in destroy(),then the code in the destroy method will be executed as soon as the servlet is loaded.init() method.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.