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

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

RE: multithreaded with taglibs

2007-11-28 Thread Yair Ben-Meir
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 name the tag returned

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
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:[EMAIL PROTECTED] Sent: Sunday, November 25

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
://C:\My Documents\image.gif ? 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. -Original Message- From: Pid

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
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 Thanks for your idea. In my case, I can't

RE: multithreaded with taglibs

2007-11-26 Thread Yair Ben-Meir
[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. Anyway, that's just an example

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

RE: multithreaded with taglibs

2007-11-24 Thread Yair Ben-Meir
, 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

multithreaded with taglibs

2007-11-22 Thread Yair Ben-Meir
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

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