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

Explain the steps involved in placing a servlet within a package?

0 Answers  


What is the procedure of invoking different servlet in a different application?

0 Answers  


How can you create a session in servlet?

0 Answers  


How can you use a servlet to generate a plain text instead of html?

0 Answers  


What is a Session Id?

1 Answers  


What are the security issues in Servlets?

2 Answers  


where the generated jsp source file are stored?

7 Answers   HCL,


When we don't write any constructor for the servlet, how does container create an instance of servlet?

2 Answers   Godrej, TATA,


How do u authorize and authenticate without <auth> of web.xml

1 Answers   Bosch,


What do you mean by session tracking?

0 Answers  


Why is Servlet so popular?

0 Answers  


Servlet is pure java object or not?

0 Answers  


Categories