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 |
List the Different types of servlet?
What is the capacity that doGet method can send to the server?
What exception should be thrown when servlet is not properly initialized?
Is servlet synchronized?
How do you design microservices?
What is the inter-servlet communication?
What is the default HttpRequest method?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
How can we create deadlock situation in servlet?
How we can create war file in servlet?
How to get the IP address of client in servlet?
What is the servletconfig object?