Bugs item #882056, was opened at 2004-01-22 03:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=882056&group_id=73068

Category: export
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Export error - Filter not working

Initial Comment:
I have problems exporting data with DisplayTag and 
Tomcat 4.0.15, so I tried the new ResponseOverrideFilter 
. But the filter it's not working. I look a little in the code 
and i think that the problem is that:
- In ResponseOverrideFilter CONTENT_OVERRIDE_BODY 
and CONTENT_OVERRIDE_TYPE are defined like that
ResponseOverrideFilter.class.getName() + 
"CONTENT_OVERRIDE_BODY"; Note that there are not 
point between the className and the string constant.
- And in the TableTag it search the request for the 
parameter with point like that: StringBuffer bodyBuffer =
  (StringBuffer) request.getAttribute("org.displaytag.filter.
ResponseOverrideFilter.CONTENT_OVERRIDE_BODY");

So the ResponseOverrideFilter is never used really.

I try the ResponseOverrideFilter  with the right definition 
of CONTENT_OVERRIDE_BODY and 
CONTENT_OVERRIDE_TYPE and it's working althougth 
Tomcat trace a lot of "java.lang.IllegalStateException: 
Cannot call getWriter() after getOutputStream()".

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=882056&group_id=73068


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to