What are the exceptions thrown by Servlets?
Answer Posted / tulasivani
The Expceptions thrown by the servlet can be in two
exception classes
1.Servlet Exception
public ServletException();
public ServletException(String message);
public Throwable getRootCause()
2.Servlet Unavailable Exception
public class UnavailableException extends ServletException
public UnavailableException(String message);
public UnavailableException(String message, int seconds);
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What are the differences between servlet context vs servlet config?
How to get the current httpsession object?
What is a servlet engine?
Which event is fired at the time of session creation and destroy?
Explain the features are in servlet 3?
How is a servlet implemented in code?
How can the session in servlet can be destroyed?
What do you mean by url pattern in servlet?
Which method is called when reference variable is passed in system.net?
What is dispatcher servlet?
Difference between get and post in java servlets?
What are the supporting protocol by HttpServlet ?
What is servlet looping or chaining?
What are the mechanisms used by a servlet container for maintaining session information?
When Servlet is unloaded?