Yair Ben-Meir wrote: > Let say that the tag will have to generate the image with a text given as an > attribute, and it takes "time" so I want the page to continue: > > <my:img src="file" text="first"/> > > . > > <my:img src="file" text="first"/>
Why are you doing this with a tag, rather than sending the parameter to a servlet that serves an image into it's output stream? You exploit the browsers own request handling capabilities this way. <img src="/img-app/generate?param1=some+text+here" alt="an image" /> p > -----Original Message----- > From: David Cassidy [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 22, 2007 6:08 PM > To: Tomcat Users List > Subject: Re: multithreaded with taglibs > > Hi > > What is your tag going to produce ? > is it an <IMG SRC="....."> type tag ? > > or how are you allowing the browser to access the image ? > > Ta > > D > > On Thu, 2007-11-22 at 14:57 +0200, Yair Ben-Meir wrote: >> Hi >> >> Is there a way to write a taglib that will do a multithreading work? >> Meaning, that tomcatwill not wait till the first instance of the tag >> will end, and continue to the rest of the page, and maybe start with >> another instance, and than it will insert the result of each instance >> in the right place? >> >> >> >> Example: >> >> <my:img name=""/> >> >> . >> >> <my:img name=""/> >> >> >> >> And let say that each my:img is supposed to download the image and >> save it locally or something like that, and I don't want tomcat to >> wait till the first tag is finished. >> >> >> >> >> >> Thanks >> >> >> >> >> >> Yair Ben-Meir >> >> >> >> Office: 073-7997801 >> >> Fax: 073-7997800 >> >> Mob: 054-5769681 >> >> >> >> >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]