What are the exceptions thrown by Servlets?
Answers were Sorted based on User's Feedback
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 |
Answer / sachin g.
1. ServletException
2. IOException
3. ClassNotFoundException
4. SQLException
| Is This Answer Correct ? | 7 Yes | 7 No |
Answer / madhuri
servlet can thrown any type of unchecked Exception
| Is This Answer Correct ? | 0 Yes | 3 No |
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What are life cycle methods of a servlet?
please give url to get orinal software for I-net crystal clear java report tools?
What is servlet looping or chaining?
What are different types of SessionTracking?
What is Single Threaded Model in Servlets? Explain this with an example?
how to make the IP address to .com
Is it possible to have a constructor inside the servlet?
Is there any need to shutdown the web server, if you want to modify a servlet?
What do you mean by request dispatcher in servlet?
Is java servlet still used?
Which event is fired at the time of setting, getting or removing attribute from application scope?