Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to handle the debug errors in servlets?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do you use session tracking in httpservlet?

1071


What are the differences between servlet context vs servlet config?

1021


Why do we have servlet wrapper classes?

1009


What are the uses of servlet

1090


How do you define a servlet?

937


How can we refresh automatically when new data is entered into the database?

1046


Is that servlet is pure java object or not?

1032


Can you call a jsp from the servlet?

966


What are the types of an http request?

1085


Why is servlet used?

1123


Write a servlet to upload file on server.

1035


What are its drawbacks of cgi?

1027


What is servlet looping or chaining?

1073


What is the difference between forward () and sendredirect () functions in servlet? Explain

980


What are the different ways we can maintain state between requests?

1044