Sun Java System Web Server 7.0 Update 8 Developer's Guide to Java Web Applications

ProcedureTo Display Stack Trace and Compiler Error

  1. Create a JSP with syntax error.

  2. Request for the log page through the browser.

    The browser displays the message Server Error.

  3. Select Display-Exception check box under set-servlet-container tab in Administration GUI or enable the display-exception feature through set-servlet-container-prop CLI.

  4. Request for the log page again through the browser.

    The browser displays the stack trace and compiler errors.