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 all the protocols supported by httpservlet?
What are the differences between servlet context vs servlet config?
Write a program to show the functionality of servlets.
Can you use javascript in servlets?
Explain the difference between jsp and servlet?
How do you define a servlet?
What are the different types of servlets?
Is it good idea to create servlet constructor?
What is the web server used for running the Servlets?
When to use doget() and when dopost()?
What is servlet attributes and their scope?
What is cookies in servlet with example?
Differentiate between the print writer and servlet output stream?
What are the different methods involved in generic servlet?
Why do we need servlet filter?