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 |
How will you open a new page after certain interval of time (5 sec), on clicking of a button in an html page?
What is the need of servlet filters?
What are the key methods that are involved in processing of http servlets?
What's the difference between servlets and applets?
Is there any differance b/w getting servlet context from servlet config and session? if yes then what is that?
Explain the jar and war files in servlet?
What is the procedure for initializing a servlet?
How can the referrer and the target urls be used in servlet?
In jsp custom tags from child tags to how many levels of parent tags you can acess
What is Server-Side Includes?
What is servlet in simple terms?
What is session tracking?