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 is Servlet API used for connecting database?
What are the types of Session Tracking ?
What is meant by session? Tell me something about httpsession class?
What is ServletContext() and what is its use?
9 Answers Prime Technology, TCS,
Tell us something about servletcontext interface.
Explain the features are in servlet 3?
How values can be passed from HTML page to servlet?
What is the advantage of Servlets when compared with other server side technologies?
How does tomcat servlet container work?
Differentiate between the get and post method
What are the important functions of filters?
Explain request dispatcher and its methods.