What are the exceptions thrown by Servlets?

Answers were Sorted based on User's Feedback



What are the exceptions thrown by Servlets?..

Answer / baskar

Servlet Exception and IOException

Is This Answer Correct ?    13 Yes 2 No

What are the exceptions thrown by Servlets?..

Answer / 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

What are the exceptions thrown by Servlets?..

Answer / sachin g.

1. ServletException
2. IOException
3. ClassNotFoundException
4. SQLException

Is This Answer Correct ?    7 Yes 7 No

What are the exceptions thrown by Servlets?..

Answer / madhuri

servlet can thrown any type of unchecked Exception

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Servlets Interview Questions

what are the CGI Programs?

5 Answers  


What is the difference between Get and Post Method?

12 Answers   T3 Softwares,


Tell us something about servletconfig interface.

0 Answers  


can i modify the data which are generated by the servlet

4 Answers  


i need connection pooling code.....from harpreet.your@gmail.com

1 Answers   IBM,






What are the phases of the servlet life cycle?

0 Answers  


What is the procedure of invoking different servlet in a different application?

0 Answers  


What are the exceptions thrown by Servlets?

4 Answers   Amplify Mindware,


What is the procedure for initializing a servlet?

0 Answers  


What is meant by Servlet? What are the parameters of service method?

0 Answers  


What is with the javax.servlet package naming?

2 Answers  


Explain is servlet mapping?

0 Answers  


Categories