Originally posted by B Sathish:
D is the right answer
Originally posted by Gouri Bargi:
An interesting question ...
suppose we are creating a database connection in the init method and releasing it in destroy - what will happen if we ourselves call destroy in the doGet()? I do not think the container will know we called this method, and call init method again. It will believe that the servlet is fit for service. Any idea?
Originally posted by Aruneesh Salhotra:
Also there is no getHeaders() method, but getHeader().
Originally posted by Jingh Yin:
That's what I use: http://localhost:8080. It used to be working, all the way until last Friday.