Is the init(ServletConfig sc) throws IOException or not?
Answers were Sorted based on User's Feedback
Answer / anji
It will throw only ServletException
The method signature of init is
void init(ServletConfig config) throws ServletException
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / rama
init can throw UnAvailable exception or ServletException
but no IOException
| Is This Answer Correct ? | 3 Yes | 1 No |
What is done after deploying a war file and before client gives a request
What is webservlet?
how the server will know its the same jsp page?
If you want to modify the servlet,will the Webserver need to be ShutDown ?
How a servlet is unloaded?
Tell us something about servletconfig interface.
What are the exceptions thrown by servlets? Why?
How can we achieve transport layer security for our web application?
What is setattribute in servlet?
what are the different services provided by the web server?
How can you maintain servlet chaining?
How do you load an image in a Servlet?