Possible ways for debugging java ,javascript,jsp and
servlet. Can we use System.out.println debugging java.

Answers were Sorted based on User's Feedback



Possible ways for debugging java ,javascript,jsp and servlet. Can we use System.out.println debuggi..

Answer / sandeep m

Instead of S.o.p() you can use log4j. depending on the
debug level we require we can set the debugging level in
log4j.properties file.

No rework of removing s.o.p's when we are ready to deploy.
Just increase the debug level while deploying.

Is This Answer Correct ?    6 Yes 0 No

Possible ways for debugging java ,javascript,jsp and servlet. Can we use System.out.println debuggi..

Answer / sk.bilal ahmed

Use of System.out.println debugging is very bad and time
consuming, but you can do it in J2EE too.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More J2EE Interview Questions

What is a java application client?

0 Answers  


i developed a Stateless Session bean program.And created a client by a common java class as class m {p s v m(String s[]){....}} And i called the bean deployed in weblogic.from cmd prompt And that run. mind it i have to set setenv,seting classpath for that bean jar file before compile and run it. ok when i do a servlet programme deployed in tomcat and call that bean then it give classdefnotfoundException and NoInitialContext like this.So how i sucessfully do this? Ok when i call that bean from java class from the console like i previously told, if i don't set setenv i found the same error on the cmd prompt. pls help to get out of it

2 Answers  


Enlist the technologies embraced in j2ee?

0 Answers  


which method does it invokes automatically when we click link in the webpage a)put b)get c)head d)post

7 Answers  


What is the best java application server?

0 Answers  






What is bean factory, have you used xmlbean factory?

0 Answers  


what is the difference between Tomcat 4 & Tomcat 5?

6 Answers   IBM, TCS,


Is python more secure than java?

0 Answers  


What is external entity?

0 Answers  


What does web module contain?

0 Answers  


What are the advantages of object-relational mapping (orm)?

0 Answers  


What is server in j2ee?

0 Answers  


Categories