Scott, Could you please give an example of when this issue arises? I need a bit more explanation to understand when this is a problem.
Cheers, John. ----- Original Message ----- From: "Scott Farquhar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 26, 2003 3:53 AM Subject: Re: [OS-webwork] Re: Include Tag > John, > > Different servlet containers call getWriter() and getOutputStream(). It > depends on their underlying implementation of servlets / JSPs. > > You need to include them both to work on all servlet containers. > > Cheers, > Scott > > John Patterson wrote: > > > Thanks Scott, > > > > Is this so that they can both be called to write both binary data and char > > data. If so, under what circumstances is this required? > > > > Thanks, > > > > John. > > > > ----- Original Message ----- > > From: "Scott Farquhar" <[EMAIL PROTECTED]> > > To: "John Patterson" <[EMAIL PROTECTED]> > > Sent: Friday, July 25, 2003 12:25 AM > > Subject: Re: Include Tag > > > > > > > >>John, > >> > >>This is still required. The servlet spec says that the end user can > >>call getOutputStream() or getWriter(). This wrapper needs to capture > > > > both. > > > >>Feel free to ask questions like this on the mailing list. > >> > >>Try to write this test first if you can. Are you familiar with writing > >>unit tests? > >> > >>Cheers, > >>Scott > >> > >>John Patterson wrote: > >> > >> > >>>Hi Scott, > >>> > >>>I am looking at moving the include tag from WW1.3 to WW2. > >>> > >>>Looking at the source for the WW1.3 Include tag I can see that it uses > >>>a wrapper for the ServletResponse. The comments say: > >>> > >>> > >>>* Simple wrapper to HTTPServletResponse that will allow getWriter() > >>> > >>>* and getResponse() to be called as many times as needed without > >>> > >>>* causing conflicts. > >>> > >>>* <p> > >>> > >>>* The underlying outputStream is a wrapper around > >>> > >>>* [EMAIL PROTECTED] webwork.view.taglib.PageOutputStream} which will store > >>> > >>>* the written content to a buffer. > >>> > >>>* <p> > >>> > >>>* This buffer can later be retrieved by calling [EMAIL PROTECTED] #getContent}. > >>> > >>>Why is this necissary and do you think it is still necissary in WW2. > >>> > >>>Thanks, > >>> > >>>John. > >>> > >>> > >>> > >> > >>-- > >> > >>ATLASSIAN - http://www.atlassian.com > >>Expert J2EE Software, Services and Support > >>------------------------------------------------------- > >>Need a simple, powerful way to track and manage issues? > >>Try JIRA - 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 > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > -- > > ATLASSIAN - http://www.atlassian.com > Expert J2EE Software, Services and Support > ------------------------------------------------------- > Need a simple, powerful way to track and manage issues? > Try JIRA - 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 > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- 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 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork