tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <fi...@filip.net>
Subject Re: Directory structure question
Date Wed, 21 Feb 2001 03:53:34 GMT
there are plenty of different ways of doing it.
one way is to create a proxy servlet that streams the content from any local
directory.
this way you can move the stuff without changing your URLs since the servlet
locates the files on local drives.
another way is to create aliases where you alias a url context with a
particular location on your machine.

Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
filip@filip.net
www.filip.net
----- Original Message -----
From: "Heijns, P.J.B." <P.J.B.Heijns@tue.nl>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, February 20, 2001 6:19 AM
Subject: Directory structure question


> Hi All
>
> I have set up Tomcat 3.2.1, everthing is oke. All settings are standard,
so
> now I can see the default page of Tomcat as I look at http://127.0.0.1/.
My
> question is: if I make my own jsp page (this page can query a database)
and
> store it in the default directory c:\tomcat\webapps\<my dir>'' can I link
in
> this jsp page too a file on a different drive, for example d:\music.mp3?
> Because I want to be able to link to mp3 files (on another drive) in my
jsp
> pages. I want to separate the mp3 files and jsp pages. Is this possible
and
> is this secure? I have a huge mp3 database (over 100 GB), should I only
use
> Tomcat or also Apache?
>
> Thank u.
>
> Grtz Pieter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


Mime
View raw message