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

Can we fetch the attributes related to a servlet on a different servlet?

1134


What do you mean by the servlet chaining?

1068


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

1105


Explain the servlet context.

1134


Can you refresh servlet in client and server-side automatically?

1065


Which application server is best for java?

1061


How do you get the ip address of the client in servlet?

1003


Explain the war file?

1056


What are the different methods of session management in servlets?

993


How can you push data from an Applet to a Servlet?

1087


How do you configure a centralized error handler in servlets?

1099


What is session?

1055


Explain get and post.

1101


What is servlet and how it works?

963


What is the difference between 2 types of servlets?

1139