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
Can we fetch the attributes related to a servlet on a different servlet?
What do you mean by the servlet chaining?
How can we refresh automatically when new data has entered the database?
Explain the servlet context.
Can you refresh servlet in client and server-side automatically?
Which application server is best for java?
How do you get the ip address of the client in servlet?
Explain the war file?
What are the different methods of session management in servlets?
How can you push data from an Applet to a Servlet?
How do you configure a centralized error handler in servlets?
What is session?
Explain get and post.
What is servlet and how it works?
What is the difference between 2 types of servlets?