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 |
request parameter how to find whether a parameter exists in the request object?
What are the common methods that are included in the http servlet class?
Describe servlet?
What is the difference between Difference between doGet() and doPost()?
Is tomcat a servlet container?
Can we fetch the attributes related to a servlet on a different servlet?
What is the <load-on-startup> element?
Which is the methods of generated servlet?
What is difference between cookies and httpsession?
Is it good idea to create servlet constructor?
can servlet have instance variables?
when the jsp page is translated to servlet?