RE: API for running JSP

2008-04-15 Thread Yair Ben-Meir
Well, I found a solution: String path = "C:\\Program Files\\tomcat6"; Embedded embedded = new Embedded(); embedded.setCatalinaBase(path); embedded.setCatalinaHome("C:\\Program Fi

API for running JSP

2008-04-13 Thread Yair Ben-Meir
Hi I m looking for a way to run a JSP by an API from my code, instead of sending an HTTP request to a server. That means that I m not going to start tomcat, and instead just use Tomcat's classes to run a JSP from my (desktop) application, as if surfing to it. Is there way to do this? Thanks Yai

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 Yair Ben-Meir
N 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

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 Yair Ben-Meir
7;s method does actually produce a static file I think, he's just producing them on demand and delivering them via a servlet. I'm curious, why does it have to be a static file, and why does it have to be a local 'file:' based url? p Yair Ben-Meir wrote: > Hi ben >

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
? > > Can't see that working over the internet > > > > On Sun, 2007-11-25 at 13:56 +0200, 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. > > > > > >

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
#x27;t see that working over the internet On Sun, 2007-11-25 at 13:56 +0200, 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:[EMAI

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-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

multithreaded with taglibs

2007-11-22 Thread Yair Ben-Meir
place? Example: . 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 <>

cluster deployer (farming)

2007-11-20 Thread Yair Ben-Meir
Hi If I understand correctly, the cluster deployer is currently broken (I've tried running it with two tomcat instances on my machine in a cluster, and it threw me some exceptions). Is it going to be fixed? And if so, when? Thanks Yair Ben-Meir Office: 073-7997801 Fax: