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 |
where the session data will stored?
Describe some assignments that are executed by servlet container?
Why do we have servlet wrapper classes?
How will you pass values from HTML page to the servlet?
What is meant by servlet? What are the parameters of the service method?
How do we go with database connection and log4j integration in servlet?
Define the lifecycle for executing a jsp page.
What is servlet configuration?
Why servlet is used as controller ? Not JSP? I want complete explation?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What is with the javax.servlet package naming?
Is it possible to send a mail from a servlet? Explain?