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

What is the use of request dispatcher interface?

998


How do we share data using 'getservletcontext ()?

1027


List out the difference between ServletConfig and ServletContext?

1030


Explain the differences between jsp and servlet.

978


What is difference between jsp and servlet?

1159


What is servlet collaboration?

1133


What are the objects involved when a servlet receives a call from client?

1028


What is servlet container. how it works?

1125


How to get the actual path of servlet in server?

1203


Can we use threads in Servlets?

1126


What is the difference between servlet and filter?

934


Explain servlet events?

992


What are the annotations used in servlet 3?

1026


How to read request headers from servlets?

1027


What is URL Encoding?

1161