How to handle the debug errors in servlets?
Answers were Sorted based on User's Feedback
Answer / pramod kumar
If you are using any tool debug the code using the tool's
debugger it will help you a lot
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Write a command to get actual path of a servlet to the server?
What are common tasks performed by Servlet Container?
Name the packages that work with servlet?
How can we refresh automatically when new data is entered into the database?
Explain url encoding in servlet?
Which application server is best for java?
Is servlet a controller?
how to pass parameter from servlet to html form
What is a server side include (ssi)
What is difference between GenericServlet and HttpServlet?
What is servlet container?
What is the default HttpRequest method?