tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <>
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
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.

Namaste - I bow to the divine in you
Filip Hanik
Software Architect
----- Original Message -----
From: "Heijns, P.J.B." <>
To: <>
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,
> now I can see the default page of Tomcat as I look at
> question is: if I make my own jsp page (this page can query a database)
> store it in the default directory c:\tomcat\webapps\<my dir>'' can I link
> 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
> pages. I want to separate the mp3 files and jsp pages. Is this possible
> is this secure? I have a huge mp3 database (over 100 GB), should I only
> Tomcat or also Apache?
> Thank u.
> Grtz Pieter
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

View raw message