Dmitri, I appreciate your enthusiasm about providing your understanding, but....
This is a question about the documentation - not the function of the code. We provide the documentation so people can read it and understand what we are trying to do for them and ourselves. The step in the documentation that I am referring to solves a specific problem. As a reader/editor of the question, I am asking "What problem is this solving" - not, "What does the filter do or how does it work?" Small clues in the step give me some information. For instance, I understand that this step relates to people doing exports of data. I also see that standard exports don't encounter the problem this step is solving. I see that the problem relates to people who have included a jsp page inside another. What kind of inclusions? iFrames, JSP-includes, Tiles? I assume tiles because it mentions Jakarta-Struts and the use of tiles generally accompanies Jakarta-Struts. Dmitri or Fabrizio could either of you rewrite this step to specifically inform the reader what this step addresses? Ben ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 17, 2004 12:55 AM Subject: FW: [displaytag-devel] reviewing documentation > Ben, > > I'll offer my understanding of what the filter does - hopefully someone > can either correct me or confirm it. > > > STEP 5: Optional. If you need to export data from an included > > JSP page, such as from Struts, you should configure the > > ResponseOverrideFilter in your web.xml. (You do not need the > > filter if you do not use exports, or if you do not use the > > table tag from a jsp page that is included inside of another > > page.) Configure the Filter in your web.xml: > > ... > > > > > > MY QUESTION: > > My question is this: what specific problem are we solving > > here? Could this be the same problem that was mentioned > > today by Joshi from GS.com? I would like to update this step > > to speak directly to the problem this optional step is solving. > > In the case where we are exporting the table, we want to let the > servlet/action/whatever handle the request, but completely change the > response we send out. So, the filter basically goes like this: > > 1. Create a dummy response object for the servlet/action/whatever > (BufferedResponseWrapper) > 2. Execute the servlet/action/whatever to extract the data > (filterChain.doFilter(request, wrapper);) > 3. Using the data provided in the request by the servlet/action/whatever > in step 2, output the CSV or Excel spreadsheet as required. > > I must have missed the post by Joshi today so am not sure if this is the > same problem or not. > > hth > dim > > ###################################################################### > DISCLAIMER: > This email and any attachment may contain confidential information. > If you are not the intended recipient you are not authorized to copy > or disclose all or any part of it without the prior written consent > of Toyota. > > Opinions expressed in this email and any attachment are those of the > sender and not necessarily the opinions of Toyota. > Please scan this email and any attachment for viruses. > Toyota does not accept any responsibility for problems > caused by viruses, whether it is Toyota's fault or not. > ###################################################################### > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > displaytag-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/displaytag-devel > > ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel