Is the init(ServletConfig sc) throws IOException or not?
Answer Posted / rama
init can throw UnAvailable exception or ServletException
but no IOException
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Write all the phases defined in servlet life cycle?
What is the importance of init() method in Servlet ?
Explain the difference between servletconfig and servletcontext in servlet?
Can we override destroy method in servlet?
What is servlet in tomcat?
Who is responsible to create the object of servlet?
What do you mean by request dispatcher in servlet? Also explain its methods.
What are the different session tracking techniques?
How do we share data using 'getservletcontext ()?
Why don't we write a constructor in a servlet?
What is ServletContext object?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
How can we upload the file to the server using servlet?
Which is the methods of generated servlet?
What is meant by cookies?