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
How do you get the ip address of the client in servlet?
How can you start a jta transaction from a servlet deployed on jboss?
What are the functions of an intercepting filter?
What is a java servlet?
What is meant by session? Tell me something about httpsession class?
How to notify an object in session when session is invalidated or timed-out?
What is the directory structure of web application?
What are the different ways we can maintain state between requests?
What is the use of welcome-file-list?
What is the process to implement doget and dopost methods?
Can filter be used as request or response?
What is the inter-servlet communication?
If a servlet is not properly initialized, what exception may be thrown?
What is the difference between get and post methods?
What are the types of Session Tracking ?