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 a servlet context object?
i am bca student,give me suggest for bright future
18 Answers BSNL, Future Considerations,
How would you create deadlock on your servlet?
What is session variable in servlets?
What are the features added in Servlet 2.5?
What is the life-cycle of servlets?
what are the disadvantages of cookies?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
Difference between doget and dopost?
How servlets can be automatically reloaded?
Can we use threads in Servlets?
Which event is fired at the time of project deployment and undeployment?