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

PerformForward.methods: private -> protected

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.3.9
    • Pending Review
    • Core
    • None

    Description

      The methods in chain.commands.servlet.PerformForward are private. To extend PerformInclude to make it easier to deal with prefix matching in the action servlet (e.g. "/main/" instead of ".do") it would be nice if I could override resolveModuleRelativePath().

      With the overridden method I could omit the action servlet prefix in the whole struts-config.xml:

      <action...>
      old: <forward name="success" path="/main/anotherAction" module="..."/>
      new: <forward name="success" path="/anotherAction" module="..."/>
      </action>

      Attachments

        Activity

          People

            pbenedict Paul Benedict
            lbe.tech@spree.de Lars Beuster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: