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 is servlet in web technology?
How do we translate jsp?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What is ServletConfig object?
When jsessionid is created?
How do you deal property files in servlet?
What is the difference between Servlets and Applets?
What is servlet configuration?
What is the use of request dispatcher interface?
Explain is servlet mapping?
What is the difference between Server and Container?
What is servlet name in web xml?
Which HTTP method is non-idempotent?
What are advantages of servlets over cgi?
What is the servletconfig object?