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

Documentation in struts-config_1_3.dtd needs a correction and further checking

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 1.3.8
    • Fix Version/s: Future
    • Component/s: Core
    • Labels:
      None

      Description

      This is how the forward redirect attribute is documented:

      redirect Set to "true" if a redirect instruction should be issued to
      the user-agent so that a new request is issued for this
      forward's resource. If true, RequestDispatcher.Redirect is
      called. If "false", RequestDispatcher.forward is called instead.
      [false]

      I think RequestDispatcher.Redirect ist not correct because handleAsRedirect in PerformForward does

      response.sendRedirect(response.encodeRedirectURL(uri));

      If this is so, and maybe there are other mistakes in the dtd, the documentation in the dtd should be checked and corrected,
      for people may use the dtd as a reference. Well, that's what I was doing just now anyways

        Attachments

          Activity

            People

            • Assignee:
              pbenedict Paul Benedict
              Reporter:
              sludwig Sven Ludwig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: