Environmental Variables set

2006-01-13 Thread Zach Moazeni
Hello, In a Spring application that is being deployed to Tomcat I need to be able to load a file. The file resides in the /WEB-INF folder of the webapp. Is there any environmental variables I can be sure will be set so I can open a file relative to Tomcat? Things like "catalina.home" or "catal

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Bah, a coworker had me try FileDownloadServlet /FileDownloader/* and everything is Groovy. Thanks for all the previous help. -Zach Zach Moazeni wrote: Also one other thing...hitting the Servlet via "./FileDownloader/MyDoc.doc?id=#{doc.id}" (using JSF) Doesnt&#x

Re: Tomcat IIS-redirector help

2006-01-11 Thread Zach Moazeni
It certainly would be nice if ASP and ASP.NET had a binary to which you could pass the file to and receive the output. You could then map .asp files as CGI's. -Zach Brantley Hobbs wrote: Can you please send me the txt of the registry file? I will check it out and make sure there is

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Also one other thing...hitting the Servlet via "./FileDownloader/MyDoc.doc?id=#{doc.id}" (using JSF) Doesnt' seem to hit the servlet, but going to "./FileDownloader?id=#{doc.id}" does. Thanks for any input -Zach Zach Moazeni wrote: Alrighty, I was able to

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
any input -Zach Zach Moazeni wrote: Sorry, keep = keen -Zach Zach Moazeni wrote: Even then I have to bring out the byte array into somewhere so that they're link is active. Like I said I'd rather not do any type of copy over for this link. Plus I'm not too keep on Blobs in

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Sorry, keep = keen -Zach Zach Moazeni wrote: Even then I have to bring out the byte array into somewhere so that they're link is active. Like I said I'd rather not do any type of copy over for this link. Plus I'm not too keep on Blobs in databases anyway. I think the other&

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
do great. Thanks for all the input. -Zach CARROLL, MIKE (CONTRACTOR) wrote: Why not just store the file in a database as a BLOB? Let the database worry about where they go... -Original Message- From: Zach Moazeni [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 2:16 PM T

Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Hello, In our current application I need to link to a file that resides outside of the webapp directory. On another application we allowed the users upload files and stored them in the webapp directory, which made deployment a royal pain. This time we are storing the files in a location ex

Re: Tomcat not relinquishing control of Jars.

2006-01-09 Thread Zach Moazeni
I tried both attributes, which worked however the server doesn't detect new pages like it used to. (If you update a jsp, it continues using the cached version) -Zach Brian O'Rourke wrote: On 1/5/06, Zach Moazeni <[EMAIL PROTECTED]> wrote: Hello, I'm currently o

Tomcat not relinquishing control of Jars.

2006-01-05 Thread Zach Moazeni
Hello, I'm currently on a project using JSF, Spring and Hibernate deploying to Tomcat 5.5.9. I'm also using Eclipse / MyEclipse deploying directly to Tomcat. I'm constantly having an issue where Tomcat will keep a hold on the jars that are in the WEB-INF/lib directory slowing down my developme