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 different services provided by the web server?

2 Answers  


What is the difference between servlet config and servlet context.

19 Answers   TCS, Tech Mahindra, Vertex,


What are the steps that are involved in using the httpservlet class?

0 Answers  


What is the directory structure of web application?

0 Answers  


What is war file?

0 Answers  






What do you mean by url pattern in servlet?

0 Answers  


give the syntax of doGet() and doPost()?

2 Answers  


Name the webserver that is used to run Servlets?

5 Answers  


what is the difference b/w DispatchAction and LookUpDispatchAction?

1 Answers   Deloitte, iGate, Tech Mahindra,


What is ServletContext() and what is its use?

9 Answers   Prime Technology, TCS,


How servlets can be automatically reloaded?

3 Answers  


Should I override the service() method?

0 Answers  


Categories