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: Bug
Components: Core
Affects Versions: 1.3.8
Reporter: SL
Priority: Minor
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.