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 |
can servlet have instance variables?
How do servlets work?
HTTP tunneling means what?
What are the different methods involved in the process of session management in servlets?
Is servlet a server side scripting language?
what are the disadvantages of cookies?
Explain the difference between get and post method in servlet?
What is servlet context ?
What is webservlet?
Explain Action Servlet?
what is the difference between doGet() and doPost()?
How to generate the server side programming and the advantages of it over the other languages?