O'Reilly logo

Special Edition Using Java™ Server Pages and Servlets by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Debugging and Error Handling

Why Debugging Is Tough

Server-side programs are often tougher to debug than GUI programs. Although a GUI application can be more complex in terms of code structure and callbacks, server-side applications that are hosted by an application server are more difficult to debug because they are being hosted by another program.

If you want to debug a standalone Java program, you can usually start it up in a debugger and start tracing right from the start. When you need to debug a servlet, you must find a way to use a debugger with your servlet environment. It gets even tougher when you want to debug a JSP because ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required