tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvaro Seixas" <lumbriga...@yahoo.com.br>
Subject Re: Accessing Files outside of WebApp
Date Wed, 11 Jan 2006 20:50:22 GMT
I've a similar situation where I have to provide million of check images.
What I did was to create a context - using a simple xml file in webapps -
for each context.

----- Original Message ----- 
From: "Zach Moazeni" <zacharooni@yahoo.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, January 11, 2006 5:49 PM
Subject: Re: Accessing Files outside of WebApp


> 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's suggestion of the Servlet mapping will 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:zacharooni@yahoo.com] Sent: Wednesday,
> >> January 11, 2006 2:16 PM
> >> To: Tomcat Users List
> >> Subject: Accessing Files outside of WebApp
> >>
> >> 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 external to Tomcat, however I need to let the users click a
> >> link so they can download and open the file. I'd rather not "copy
> >> over" the file to a tmp directory from which they download.
> >>
> >>    In Apache there was something like <Location>, is there something
> >> like that in Tomcat?
> >>
> >> Thanks for any input.
> >> -Zach
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message