-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Geoffrey Talvola <[EMAIL PROTECTED]> writes:

> If I'm understanding you correctly, this is exactly what ExtraPathInfo is
> _supposed_ to do.

Okay, yes, that was part of my question (and you're right that it
doesn't work in CVS).

> In you're using Apache, you can get the effect you want with a
> mod_rewrite rule that transforms SomeContext/Main/foo/bar/file.ext
> into SomeContext/Main?extra=foo/bar/file.ext.

Sounds like a reasonable work-around.

> There have been various proposals in the past for how to handle
> URL's more flexibly but nothing has been done yet.  None of the
> Webware developers have time to work on this because we're all too
> busy _using_ Webware :-)

ISTM there should be an over-ridable way to map files to modules. That
is, given ``/SomeContext/Main'' or ``/SomeContext'', the appropriate
magic should happen which imports the Main.py file or whatever, but one
should be able to plug in their own mapping if the want.

My example would take any URL starting with ``/SomeContext'' and give
just ``/SomeContext'' to the superclass/default behaviour. The servlet
constructed can then access the full URL if it wants (which it will,
obviously, in my example).

[Reads some more code.]

Could this be accomplished by overriding serverSidePath in
HTTPRequest? Or would it be better to change
serverSideInfoForRequest() in Application to use some mapping objects
(like mentioned just above) to determine the server-side paths for
random URLs?

- -- 
[EMAIL PROTECTED]
<URL:http://www.mike-warren.com>
GPG: 0x579911BD :: 87F2 4D98 BDB0 0E90 EE2A  0CF9 1087 0884 5799 11BD



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQE9WXVSEIcIhFeZEb0RAuWLAKDKqMMnn/KnnMlNq87EXKPthQi5iACfUQ3R
tG6ijoY7zYDQGp2zJ/LEqo8=
=Pykr
-----END PGP SIGNATURE-----


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to