You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2008/12/22 06:03:37 UTC

[jira] Updated: (STR-3149) Documentation in struts-config_1_3.dtd needs a correction and further checking

     [ https://issues.apache.org/struts/browse/STR-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated STR-3149:
-------------------------------

         Priority: Trivial  (was: Minor)
    Fix Version/s: 1.3.11
       Issue Type: Task  (was: Bug)
          Summary: Documentation in struts-config_1_3.dtd needs a correction and further checking  (was: documentation in struts-config_1_3.dtd needs a correction and further checking)

> Documentation in struts-config_1_3.dtd needs a correction and further checking
> ------------------------------------------------------------------------------
>
>                 Key: STR-3149
>                 URL: https://issues.apache.org/struts/browse/STR-3149
>             Project: Struts 1
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 1.3.8
>            Reporter: SL
>            Assignee: Paul Benedict
>            Priority: Trivial
>             Fix For: 1.3.11, 1.4.0
>
>
> 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 ;-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.