You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Scott Murphy Heiberg (Jira)" <ji...@apache.org> on 2026/07/11 02:50:00 UTC

[jira] [Comment Edited] (WW-5496) Struts filter and HttpServletResponseWrapper

    [ https://issues.apache.org/jira/browse/WW-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18095462#comment-18095462 ] 

Scott Murphy Heiberg edited comment on WW-5496 at 7/11/26 2:49 AM:
-------------------------------------------------------------------

Struts 7 example here:

[https://github.com/sitemesh/sitemesh3/releases/tag/3.3.0-M2]


was (Author: JIRAUSER284944):
[https://github.com/sitemesh/sitemesh3/releases/tag/3.3.0-M2]

> Struts filter and HttpServletResponseWrapper
> --------------------------------------------
>
>                 Key: WW-5496
>                 URL: https://issues.apache.org/jira/browse/WW-5496
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 7.0.0
>         Environment: Tomcat 11
>            Reporter: Günter Paul
>            Priority: Minor
>             Fix For: 7.3.0
>
>
> I've been using a servlet filter for a long time. It removes spaces in the lines (trim()) and line breaks (only for *.action requests).
> The filter is installed in the web.xml before the struts filter. It works very well so far, even with the current Struts 7.0.0-M10 version.
> Until now I was using Tomcat 10. After switching to Tomcat 11, only blank pages are displayed.
> If I use a web-application without struts, the filter works fine. Only when the Struts filter (StrutsPrepareAndExecuteFilter) is installed does the output of the wrapper appear to no longer be included in the output stream.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)