Re: multithreaded with taglibs

2007-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yair, Yair Ben-Meir wrote: > Let me try another scenario: let say that the generated text for the "out" > is not one iamge, but some number between 0 and 5. the correct number of > images will be clear only after the execution of the thread. In this c

Re: multithreaded with taglibs

2007-11-29 Thread ben short
ginal Message- > From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 28, 2007 7:04 PM > To: Tomcat Users List > Subject: Re: multithreaded with taglibs > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yair, > > Yair Ben-Meir wrote:

RE: multithreaded with taglibs

2007-11-29 Thread Yair Ben-Meir
inished with it. Any better way to do it? -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 28, 2007 7:04 PM To: Tomcat Users List Subject: Re: multithreaded with taglibs -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yair, Yair Ben-Meir wrote: &

Re: multithreaded with taglibs

2007-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yair, Yair Ben-Meir wrote: > This solution is good but we must write to the out of the jsp before the > thread is running (we bypass this because the thread will write to a > pre-decided file name). is there another way to do it, without writing to >

RE: multithreaded with taglibs

2007-11-28 Thread Yair Ben-Meir
thout writing to the out? I guess not, I m just checking that I m not missing something. Thanks Yair -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 6:17 PM To: Tomcat Users List Subject: Re: multithreaded with taglibs -BEGI

Re: multithreaded with taglibs

2007-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yair, Yair Ben-Meir wrote: > Btw - i thought of something: maybe the img tag will run a thread, return an > outout to the page with some new image name, and release the jsp to > continue. The thread will do the work and save the new image under the na

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 8:44 PM To: Tomcat Users List Subject: Re: multithreaded with taglibs -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yair, Yair Ben-Meir wrote: > You're right about that - it is not for using over the web. Anyw

Re: multithreaded with taglibs

2007-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yair, Yair Ben-Meir wrote: > You're right about that - it is not for using over the web. Anyway, that's > just an example. The main issue is to run the work of the tag in a thread > without making the rest of the page wait. I think you're hit the nai

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
Well, the output of the jsp isn't html in my case, but something similar, an xml file with references to other files. -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 1:48 PM To: Tomcat Users List Subject: Re: multithreaded with taglibs ben

Re: multithreaded with taglibs

2007-11-26 Thread Pid
-- > From: ben short [mailto:[EMAIL PROTECTED] > Sent: Monday, November 26, 2007 1:19 PM > To: Tomcat Users List > Subject: Re: multithreaded with taglibs > > Yair, > > I created a eshop website that dynamically re sizes images depending > on the url. Here is a simple outline o

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
TED] Sent: Monday, November 26, 2007 1:19 PM To: Tomcat Users List Subject: Re: multithreaded with taglibs Yair, I created a eshop website that dynamically re sizes images depending on the url. Here is a simple outline of what happens. A new product is created by the shop admin. Images are the

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
r 26, 2007 12:15 PM To: Tomcat Users List Subject: RE: multithreaded with taglibs Errr how will you allow people to access the file over the internet with a file:// protocol ? are you only running the app and the users browser on the same machine ? file://C:\My Documents\image.gif ? Can&

Re: multithreaded with taglibs

2007-11-26 Thread ben short
Yair Ben-Meir wrote: > > Thanks, but that's not good for me, I need the page to be with a real file > > link (file://), not through a servlet. > > > > > > -Original Message- > > From: Pid [mailto:[EMAIL PROTECTED] > > Sent: Sunday, November 25,

RE: multithreaded with taglibs

2007-11-26 Thread David Cassidy
o: Tomcat Users List > Subject: Re: multithreaded with taglibs > > 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: > > > > > > > &

RE: multithreaded with taglibs

2007-11-25 Thread Yair Ben-Meir
Thanks, but that's not good for me, I need the page to be with a real file link (file://), not through a servlet. -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Sunday, November 25, 2007 11:53 AM To: Tomcat Users List Subject: Re: multithreaded with taglibs Yair Ben

Re: multithreaded with taglibs

2007-11-25 Thread Pid
let that serves an image into it's output stream? You exploit the browsers own request handling capabilities this way. p > -Original Message- > From: David Cassidy [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 22, 2007 6:08 PM > To: Tomcat Users List > Sub

RE: multithreaded with taglibs

2007-11-24 Thread Yair Ben-Meir
ubject: Re: multithreaded with taglibs Hi What is your tag going to produce ? is it an 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

Re: multithreaded with taglibs

2007-11-22 Thread David Cassidy
Hi What is your tag going to produce ? is it an 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

multithreaded with taglibs

2007-11-22 Thread Yair Ben-Meir
Hi Is there a way to write a taglib that will do a multithreading work? Meaning, that tomcat will 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 plac