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 |
what are the different services provided by the web server?
What is the difference between servlet config and servlet context.
19 Answers TCS, Tech Mahindra, Vertex,
What are the steps that are involved in using the httpservlet class?
What is the directory structure of web application?
What is war file?
What do you mean by url pattern in servlet?
give the syntax of doGet() and doPost()?
Name the webserver that is used to run Servlets?
what is the difference b/w DispatchAction and LookUpDispatchAction?
1 Answers Deloitte, iGate, Tech Mahindra,
What is ServletContext() and what is its use?
9 Answers Prime Technology, TCS,
How servlets can be automatically reloaded?
Should I override the service() method?