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 the difference between sendredirect() and forward() in a servlet?
What are setSecure() and getSecure() methods in Cookies?
How does Cookies work in Servlets?
what is the difference between Servlet and JSP?Advantage of JSP over Servelt?Any concept present in JSP which we cant implement in Servlet?
31 Answers ABC, Apere, AZTEC, CTS, CybAge, iFlex, Impact Systems, Sara, TCS,
How is an application exception handling is done using a servlet?
What is ServletContext() and what is its use?
9 Answers Prime Technology, TCS,
Write a program to show the functionality of servlets.
What do you mean by request dispatcher in servlet?
What is meant by servlet? What are the parameters of the service method?
What is filter? Can filter be used as request or response?
What is servlet and list its types?
What is the difference between servlet and filter?