Since neither the insert tag nor the get tag implement BodyTagSupport,
the flushing should not be necessary. I originally added the flushes
because it was necessary for a particular servlet container (Tomcat3.1,
if I remember correctly).
I just took out the flushes and it worked with both Tomcat3.2 and
Resin1.2.1. Since it also works with WebLogic6.0, I'm just going to yank
the flushes altogether.
Watch for a putback soon.
david
"Deadman, Hal" wrote:
> The pageContext.flush() that goes on in the struts templates really
> precludes effective use of a jsp error page. Flushing prevents the
> buffer from being cleared before forwarding to an error page. I know
> some servlet containers don't support including without flushing but I
> think it should be a parameter of some sort. I commented out the two
> cases of flushing below and it seems to work in weblogic 6.0. If I
> recall, doing a jsp include in weblogic 5.1 didn't work correctly but
> I may be mistaken.