How to handle the debug errors in servlets?
Answers were Sorted based on User's Feedback
Answer / pramod kumar
If you are using any tool debug the code using the tool's
debugger it will help you a lot
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sk
debigging the errors in servlets is very difficult.........
if we want to detect the errors in servlet we have to print
the object ......... for ex----
Connection con=DriverManager("url","uid",pwd");
System.out.println(con);
if it prints the object address the program is
connected to database otherwise not connected to database
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the classes and interfaces for servlets?
What is pure servlet?
Can we define constructor in Servlet class?
Explain the difference between servlet and cgi?
What are setSecure() and getSecure() methods in Cookies?
How to rectify errors in java servlet while compilation?
How to get the actual path of servlet in server?
init() method of servlet loaded by?
What are the life cycle methods of a servlet?
what do you understand by url rewriting?
What is lazy loading and what is Generic Servlet Class?
How can an existing session be invalidated?