----------------------------------------------------
Please read the FAQ at <http://java.apache.org/faq/>
It has a search feature and all the answers!
----------------------------------------------------

We're writing a system that uses a web client and Apache server to
deliver rich multimedia training apps.  These apps include gigabytes of
video and audio.  Instead of web-delivering the audio and video (which
requires pretty fast random access - ruling out streaming as an
effective solution), we're creating a CD/DVD ROM that contains all the
big assets.

However, to provide flexibility, we're coding all the paths to AVI's,
MPEG's, MP3's, etc to be relative to the html file that they get played
in (HREF=media/video/foo.mpeg).  This allows us to pass around the HTML
with the video/audio for development and demos without a server.

Using Apache JServ's ability to register an extension to a servlet
handeler, we override the resolution of the audio/video's URL and use
prior knowledge of the client's system to redirect the URL to a local
file:// URL.  We have this working great.

The question is, if I want to fail-over the resolution of the URL back
to the server, will I get stuck in a loop?  For instance, suppose the
client requests foo.avi.  JServ is configured with "ApJServAction .avi
/servlets/MediaHandeler".  The MediaHandeler servlet determines that the
foo.avi file isn't on the client's system (remember we have this prior
knowledge). However, foo.avi *does* exist on the server.  How do I tell
the client to use http://server/media/foo.avi without the servlet
standing in the way?

Brian Dupras


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to