How Do You Debug Code in JSP ?

In simplest form we can write logger statements or System.out.println() statements to write messages to log files. When we call a JSP, the log messages get written to logs. With useful information getting logged we can easily debug the code.

Another option in debugging is to link JSP container with an IDE. Once we link IDE debugger to JSP Engine, we can use standard operations of debugging like breakpoint, step through etc.



You May Interest

Why String Class is Immutable or Final in Java ?

How Will You Sort Objects by Natural Order in a Java List ?

How Will You Use Other Java Files of Your Application in JSP Code ...

What is Difference Between Include Directive and Include Action o ...

How Will You Pass Information From One JSP to Another JSP ?