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 is the effective way to make sure all the servlets are accessible only when user has a valid session?
List the Different types of servlet?
What are the steps that are required to handle the multi-threading?
How to read request headers from servlets?
Why servlet is mostly used?
What's the advantages using servlets than using cgi?
What is servlet attributes and their scope?
Can you use javascript in servlets?
Is dispatcher servlet a singleton?
request parameter how to find whether a parameter exists in the request object?
What is the use of welcome-file-list?
What does the term localization refer to?
What is a servlet context?
How can you push data from an Applet to a Servlet?
Which method of the httpservletrequest object is used?