struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Rowley <cl...@onsea.net>
Subject Re: Composite jsp files
Date Wed, 28 Aug 2002 16:41:13 GMT
I did? :)

On Wed, 2002-08-28 at 16:44, Leonard Wolters wrote:
> 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" <jb_raley@mindspring.com>
> To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> 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:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> >
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> 
> 
-- 

Regards

-------------------------------------------
 Cliff Rowley        |     cliff@onsea.net
 Software Engineer   |   www.doctype.co.uk
 +44 (0) 1206 514263 | www.cliffrowley.com
-------------------------------------------


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message