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

PerformForward.methods: private -> protected

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.9
    • Fix Version/s: Pending Review
    • Component/s: Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated: