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 |
Servlet is pure java object or not?
i have class files in class folder. but i have no java files. but i want to modify the java files which are related to class files . how ?
What is Difference between JavaBeans and taglib directives?
What is the use of send redirect () method?
What is the difference between portlet and servlet?
How do we translate jsp?
What is context in servlet?
How to invoke a Servlet?
What is the difference between using getSession(true) and getSession(false) methods?
Explain mvc pattern.
What are the differences between the servletconfig interface and the servletcontext interface?
How printwriter is different from servletoutputstream?