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

ActionRedirect from ForwardConfig not redirecting properly?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.5, 1.3.6, 1.3.7
    • 1.3.8
    • Core
    • None

    Description

      While migrating from Struts 1.2.9 to Struts 1.3.5, I noticed ActionRedirect was no longer redirecting as expected.

      In the Struts 1.2.9, in

      public ActionRedirect(ForwardConfig baseConfig)

      setRedirect was always being set to TRUE, like it is in every other constructor.

      However, as of Struts 1.3.5 it is now being configured as

      setRedirect(baseConfig.getRedirect());

      This seems to defeat the purpose of a ActionRedirect if you are trying to generate one from a

      mapping.findForward();

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jsm174 Jason Millard
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: