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 to create war file?
What methodology can be followed to store more number of objects in a remote server?
What are the types of servlets? Explain
Tell us something about servletconfig interface.
What do you mean by the servlet chaining?
Which event is fired at the time of setting, getting or removing attribute from application scope?
How do we call one servlet from another servlet?
Explain the difference between servletconfig and servletcontext in servlet?
What is the difference between encodeRedirectUrl and encodeURL?
What are the common methods that are included in the http servlet class?
Differentiate between the get and post method
What are the phases of a servlet life cycle?
What is the major difference between context parameter and context attribute?
What is servlet configuration?
What is a servlet-to-servlet communcation?