On Wed, 12 Jun 2002, Jim Michael wrote:
> Date: Wed, 12 Jun 2002 13:14:05 -0500
> From: Jim Michael <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: flush="false" not working?
>
> Thanks... that totally sucks! I found at least five web sites that claim
> the new 1.2 JSP spec allows a included servlet to modify header... of
> course, the actual spec from Sun says otherwise, as you point out.
>
Can't help it if people won't read the actual rules :-).
> If an included servelt can't modify headers, what's the point of
> enabling flush=false anyway? Its totally useless!
>
What if you want to read the content of the included servlet (or JSP page)
response into a buffer, possibly modify it (say, with an XSLT transform),
and then write some other sort of output to the current response? Then,
this capability is *very* valuable ...
> Oh well, I guess creating a dynamic site that can be indexed with real
> dates is impossible. Why something so obvious and basic has been
> disabled in the spec is beyond me!
>
What would you propose a servlet container do when a page has three
different includes, each of which wants to set the same header to some
different value? Remember that, as far as the client is concerned, this
is a single request, so there is no such thing as a "last modified"
timestamp for only part of the page.
> Jim
>
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>