[
https://issues.apache.org/struts/browse/STR-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41931
]
Paul Benedict commented on STR-3086:
------------------------------------
The issue is most likely caused by you using the classic RequestProcessor. This
does not remove messages from the session. Switch to the
ComposableRequestProcessor for the behavior you desire. I do wonder, however,
if this feature should be copied to the classic RequestProcessor....
> doErrorsExist() needs to get ActionMessages errors also from the session if
> redirect is used
> --------------------------------------------------------------------------------------------
>
> Key: STR-3086
> URL: https://issues.apache.org/struts/browse/STR-3086
> Project: Struts 1
> Issue Type: Improvement
> Affects Versions: 1.3.8
> Environment: any
> Reporter: Ralf Hauser
> Assignee: Ralf Hauser
> Fix For: 1.3.10
>
>
> we use the redirect approach and for that we store the error messages in the
> session.
> Unfortunately, error tags as per
> http://www.niallp.pwp.blueyonder.co.uk/strutshighlight.html will not be found.
> There should be a way to tell the tags that it should also look for the
> errorKey in the HttpSession since we use redirect in the forward declarations
> of the struts-config.xml
> overwriting org.apache.struts.taglib.html.BaseHandlerTag.doErrorsExist()
> works, but is cumbersome
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.