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 is the importance of init() method in Servlet ?
What is the main purpose of java servlets?
Is servlet synchronized?
Why setMaxAge() and getMaxAge() methods are used in Cookies?
What do you mean by scope object and what are its types?
Can a jsp be called using a servlet?
If we disable cookies in our web page, what will happen?
How can I share objects across different sessions?
what do you understand by url rewriting?
What are different Authentication options available in Servlets.
What is with the javax.servlet package naming?
How we can call a jsp from the servlet?