Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-908

[exception] support contextRelative paths

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • Nightly Build
    • None
    • Extras
    • None
    • Operating System: All
      Platform: All
    • 13544

    Description

      It is useful for me to be able to declare that the JSP path for a global-exception handler is
      context-relative, so that I can have a family of related Struts modules that can share the
      view page for a common exception. I've patched ExceptionConfig, ExceptionHandler,
      and the struts-config DTD to support a context relative attribute for ExceptionConfig. It's
      all basically cut and paste from ForwardConfig, so I didn't make any test cases to
      demonstrate it, but I've tested it out locally.

      I figured I'd submit the patches in case others would find this useful.

      Attachments

        Activity

          People

            Unassigned Unassigned
            germuska Joseph Lad Germuska
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: