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 servlet chaining?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
what happens if we wont use destroy()?
Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.
What are the exceptions thrown by Servlets?
How do you create connections for number of users, if you want to improve performance?
how can you give alias to servlets?
What do you mean by servlet?
What is the protocol used by Server & Client?
What is cookie in servlet?
what is a session object?
What are sessions in servlets?