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 |
Explain the steps involved in placing a servlet within a package?
What is the procedure of invoking different servlet in a different application?
How can you create a session in servlet?
How can you use a servlet to generate a plain text instead of html?
What is a Session Id?
What are the security issues in Servlets?
where the generated jsp source file are stored?
When we don't write any constructor for the servlet, how does container create an instance of servlet?
How do u authorize and authenticate without <auth> of web.xml
What do you mean by session tracking?
Why is Servlet so popular?
Servlet is pure java object or not?