[JIRA-Opensymphony] Created: (CACHE-52) CacheFilter jsp requires manual.flush()

[email protected]
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=CACHE-52


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: CACHE-52
    Summary: CacheFilter jsp requires manual.flush()
       Type: Bug

     Status: Assigned
   Priority: Major

    Project: OSCache
 Components: 
             Filters
   Versions:
             2.0 beta 2

   Assignee: Chris Miller
   Reporter: David Rees

    Created: Thu, 7 Aug 2003 12:53 PM
    Updated: Thu, 7 Aug 2003 12:53 PM
Environment: Tomcat 4.1.24/4.1.27 on Linux, JDK 1.4.2

Description:
I setup OSCache to filter some JSPs, but I was getting blank pages instead of the desired content.  After banging my head on the wall a bit, I added <% out.flush(); %> to the end of my JSP which fixed the issue.

I will attach the relevant configuration files.

I'm not convinced that this is a CacheFilter bug, but I think the place to look would be at the cacheResponse.flushBuffer() call in CacheFilter.java.

It seems to act like the JspWriter has another buffer layered over the OutputStream OSCache has access to...


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.