Preparing the Web Module for Debugging

Before you can debug a J2EE application, you need to set and verify the properties of the web module.

To prepare the web module:

  1. Click the Editing workspace tab and cick the Explorer's Filesystems tab.
  2. Select the web module's web.xml node and display its property sheet.
  3. Select the Sun ONE AS tab.
  4. Select the JSP Param field and then click the ellipsis (...) button.
  5. Verify that the classdebuginfo and mappedfile properties are set to true.
  6. Click OK to close the property editor.
  7. Select the web module's WEB-INF node in the mysimple/web filesystem and display its property sheet.
  8. Type /servlet_context in the Context Root field.
  9. The value should match the servlet context that you assigned in the setting up the servlet context for the web module.

See also
Debugging the Application
Starting and Stopping the Debugger
Debugging EJBs
Debugging JSP Pages

Legal Notices