Thanks John &  Cliff (prior answer).

But john, unfortunately I can't use the img
src tag since the images are directly retrieved
from a database. It doesn't make sense to
first (temporarily) store the images and then
use the img source tag. Instead, I directly
print the images by using the
response.getOutputStream (or something similar)
and setting the contentType + writing the bytes.

Cliff helped me out by showing me the <include>
tags, which i think can be very usefull.

If this does not work, you will hear me scream ;)

Regards,

Leonard

----- Original Message -----
From: "John Raley" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 4:23 PM
Subject: Re: Composite jsp files


> With Struts logic:equal tag:
>
> <logic:equal ...><img src="..."></logic:equal>
>
> Check the doc for the various logic:equal options.
>
> Leonard Wolters wrote:
>
> >Is it possible to concatenate jsp files to one ?
> >
> >The problem i have now is that tomcat / catalina
> >is complaining when I write multiple times to
> >the outputstream. A nice: java.lang.IllegalStateException:
> >getOutputStream() has already been called for this response
> >is shown to me.
> >
> >
> >My question is if anyone know how to concat jsp files,
> >or to dymanically create jsp.
> >
> >
> >The problem is as follows: I have a certain jsp file which
> >may / may not show an image. Based on a particular
> >(custom made) tag an image should be shown or not.
> >In both cases, the rest of the page should remain the
> >same.
> >
> >Does anyone has tips / suggestions how to do this ????
> >
> >T.i.a.
> >
> >Leonard
> >
> >
>
>
> --
> Check it out: Map -> JavaBean
> http://dynclass.sourceforge.net/
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to