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 the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
What methodology can be followed to store more number of objects in a remote server?
Differentiate between the print writer and servlet output stream?
What is cookie? Why is cookie used?
How do I support both get and post from the same servlet?
How to get the server information in a servlet?
What is java servlet session?
Explain the difference between generic servlet and http servlet?
What are the objects involved when a servlet receives a call from client?
What are the types of Session Tracking ?
What are the supporting protocol by HttpServlet ?
Explain jsessionid?
Which interface should be implemented by all servlets?
How does java thread pool work?
What is httpservlet class?