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 refresh servlet in client and server side automatically?
What do you mean by cgi in servlet?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What is the difference between Difference between doGet() and doPost()?
What is the purpose of dispatcherservlet properties?
What is the major difference between servlet and applet?
What are the life cycle methods of the servlet?
What’s the difference between sendredirect and forward methods
Define servlet mapping?
What is http servlet?
Why is http protocol called as a stateless protocol?
What is the difference between a generic servlet and http servlet?
how many jsp scripting elements are there and what are those?
What are important features of Servlet 3?
What are all the advantages of servlet over cgi?