File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Debugging Best Practices??

 
Vikas
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

We have recently started to work in Struts but we find debugging the most challenging in Struts. I want to know as to what are the best practice for debugging Struts Applications.

Thank you

Regards
Vikas
 
Florian Kammermann
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Log4J
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "debugging" and what about it do you find being difficult with Struts?

If you're talking about debugging as in "using my IDE's debugger", then it should be no different from using, for example, plain Java Servlets.

If you're talking about "printing out stuff so that I can figure out later what exactly happened that lead to getting HTTP 500 on the browser", again, it should be no different from any other framework.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This site should help pick out the major things.
 
Sean Sullivan
Ranch Hand
Posts: 427
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book "Robust Java" has a chapter about debugging Java applications.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic