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 |
Is the init(ServletConfig sc) throws IOException or not?
difference between forward and sendredirect
How can an existing session be invalidated?
How do we translate jsp?
What is the difference between JspWriter and PrintWriter
How servlets can be automatically reloaded?
What do you mean by servlet context?
Explain the war file?
Explain request dispatcher and its methods.
What is HTTP Session ?
What is the difference between Server and Container?
init() method of servlet loaded by?