Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How to handle the debug errors in servlets?

Answers were Sorted based on User's Feedback



How to handle the debug errors in servlets?..

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

How to handle the debug errors in servlets?..

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

Post New Answer

More Servlets Interview Questions

What are the supporting protocol by HttpServlet ?

0 Answers  


How long do servlets last?

1 Answers  


What is cgi and what are its drawbacks?

0 Answers  


What are the benefits of using servlet over cgi?

0 Answers  


What happens, if server sends a cookie to a browser that doesn't supports cookies?

2 Answers  






Can we override destroy method in servlet?

0 Answers  


How the typical servlet code look like ?

0 Answers  


List some life cycle methods of a servlet.

0 Answers  


What are the functions of the servlet container?

0 Answers  


Can we define constructor in Servlet class?

10 Answers   Accenture, Yugma,


What is the difference between jsp and servlet life cycle?

0 Answers  


What is the use of send redirect () method?

0 Answers  






Categories