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
What is the use of request dispatcher interface?
How do we share data using 'getservletcontext ()?
List out the difference between ServletConfig and ServletContext?
Explain the differences between jsp and servlet.
What is difference between jsp and servlet?
What is servlet collaboration?
What are the objects involved when a servlet receives a call from client?
What is servlet container. how it works?
How to get the actual path of servlet in server?
Can we use threads in Servlets?
What is the difference between servlet and filter?
Explain servlet events?
What are the annotations used in servlet 3?
How to read request headers from servlets?
What is URL Encoding?