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 |
Which interface should be implemented by all servlets?
What are different ways for servlet authentication?
Can we use servlets in JavaScript?
What is session variable in servlets?
When jsessionid is created?
What is java servlet session?
How to handle exceptions thrown by application with another servlet?
How can the session in servlet be destroyed?
What is the use of request dispatcher interface?
Can we use javascript in Servlets?
How ThreadSafe page attribute will be working in Servlet as well as in JSP?Automatically ThresdSafe is true in JSP so service method will be destroy in each and every request or not?so how thresd will handle srevice method?
Which java framework is most popular?