Is the init(ServletConfig sc) throws IOException or not?
Answer Posted / 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 |
Post New Answer View All Answers
What are different Authentication options available in Servlets.
What is the life cycle of a servlet?
What is the use of httpservletresponsewrapper?
What is servlet attributes and their scope?
What is the procedure of invoking different servlet in a different application?
explain the advantages of servlet life cycle?
How can I send user authentication information while making URL Connection?
Explain servlet.
What’s the difference between forward() and sendredirect() methods?
What are the different methods involved in the process of session management in servlets?
Can you send an authentication error from a servlet?
What is http servlet? Explain with the help of an example.
How can a servlet be used to generate plain text instead of html?
Which java application server is the best?
How printwriter is different from servletoutputstream?