----------------------------------------------------
Please read the FAQ at <http://java.apache.org/faq/>
It has a search feature and all the answers!
----------------------------------------------------
>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?
Hi Brian,
I found that instead of using
ApJServAction .avi /servlets/MediaHandeler
the old way of using
AddHandler avi-handler .avi
Action avi-handler /servlets/MediaHandler
still work (used it for extension jsp).
I asked on this list if
- it has any drawbacks compared to ApJServAction?
- Why ApJServAction isn't supported in Location but never got an answer :-(
The benefit of using the AddHandler version is that you can use
it in a <Location> directive. So you know for which urls
the jandler is used.
So you can either put all of your MediaHandler uses inside
<Location> directives.
Or you may use a special handler and location for non-file access
but I don't know if its possible to remove a handler definition
on a location or override it with default behaviour.
>
>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]
>
Ciao,
Carsten Heyl
Carsten Heyl [EMAIL PROTECTED]
NADS - Solutions on Nets http://www.nads.de/
NADS GmbH http://www.pixelboxx.de/
Hildebrandtstr. 4E Tel.: +49 211 933 02-90
D-40215 Duesseldorf Fax.: +49 211 933 02-93
--
--------------------------------------------------------------
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]