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
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 |
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 |
What is a java application client?
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
Enlist the technologies embraced in j2ee?
which method does it invokes automatically when we click link in the webpage a)put b)get c)head d)post
What is the best java application server?
What is bean factory, have you used xmlbean factory?
what is the difference between Tomcat 4 & Tomcat 5?
Is python more secure than java?
What is external entity?
What does web module contain?
What are the advantages of object-relational mapping (orm)?
What is server in j2ee?