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? Explain
Hi friends am newbie to servlet. How code reusability easy in servlet. why not in jsp . here reusabillity means only javabeans or any thing else.
If you want to modify the servlet,will the Webserver need to be ShutDown ?
How to get the IP address of client in servlet?
What is called Scriptlet?
Given the request path below, which are context path, servlet path and path info?
What is the first statement in jsp page.
Explain the difference between generic servlet and http servlet?
Explain the role of dispatcherservlet and contextloaderlistener.
How servlet is created?
What is servlet container?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?