First, a disclaimer: all of my code-spelunking has been against a
relatively old (6 months or so) CVS head of Webware. It may be that things
are different now, in which case a simple "things are different today"
will suffice to get me looking ahead instead of behind :)

Now, on to the task. It seems that Application.serverSideInfoForRequest
is fairly aggressive about matching a URL to a file (be it a content file,
or a Python script, or what have you).

I want to short-circuit this, and have a servlet at a certain level in the
URL hierarchy serve all requests "under" that hierarchy. E.g.:

        http://webware.example.com/dav/some/file/path.txt

would be handled by a top-level servlet "dav.py", which would receive the
path "some/file/path.txt" as its argument. Assume that dav is a servlet
within the default Context, and the default Context is mapped to the root
of the webserver.

Is there a straightforward way to do this in the latest CVS (or any recent
release)? If so, has it "always" been so, or is it a recent addition?

If not, I'm thinking that I need to add some new behaviour to
serverSideInfoForRequest, and probably some new servlet config and/or
initialization options to tell the Application that "this servlet serves
everything underneath it". If hacking is indeed in order, I welcome input
on how folks would like to see it done. Otherwise I'll just crash off
through the brush and make my own path (so to speak).

Take care!

- t.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to