Chapter 6. Debugging and Error Handling
In this chapter
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 ...
Get Special Edition Using Java™ Server Pages and Servlets now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.