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 types of protocols supported by httpservlet ?
What are life cycle methods of a servlet?
What is cookie in servlet?
What is java servlet session?
Explain the servlet context.
Differentiate between get and post?
What is difference between GenericServlet and HttpServlet?
What is a servlet?
What is ServletConfig object?
Is tomcat a servlet container?
What are different ways for servlet authentication?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
Difference between httpservlet and generic servlets?
What do you mean by mime type?
Explain in brief the directory structure of a web application?