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 we use more than one controller in web application
What is load-on-startup in servlet?
what is the difference between servlets and struts?
Explain servlet.
What advantages do servlets have over CGI programs?
When we don't write any constructor for the servlet, how does container create an instance of servlet?
What is the difference between an applet and a servlet?
15 Answers GCEW, Miracle Solutions,
How do you create connections for number of users, if you want to improve performance?
What is httpservlet class?
What is difference between GenericServlet and HttpServlet?
Which is better approach among four(HttpSession,cookie,URL Rewriting, Hidden Fields) Session Tracking technic's ? Why ?
How can you maintain servlet chaining?