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 do you mean by scope object and what are its types?
Can we use javascript in Servlets?
Can we use threads in Servlets?
Why is Servlet so popular?
What is the use of welcome-file-list?
what is the difference between doGet() and doPost()?
Can we use servlets in JavaScript?
What do you mean by httpservlet and how it is different from the genericservlet?
Can we use the constructor, instead of init(), to initialize servlet?
How many Cookies can a host support?
What is Client-Server Computing?
What are the difference between RMI and Servlets?