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
Why do you use session tracking in httpservlet?
What are the differences between servlet context vs servlet config?
Why do we have servlet wrapper classes?
What are the uses of servlet
How do you define a servlet?
How can we refresh automatically when new data is entered into the database?
Is that servlet is pure java object or not?
Can you call a jsp from the servlet?
What are the types of an http request?
Why is servlet used?
Write a servlet to upload file on server.
What are its drawbacks of cgi?
What is servlet looping or chaining?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What are the different ways we can maintain state between requests?