Mike Warren wrote:
> Geoffrey Talvola <[EMAIL PROTECTED]> writes:
> > 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?

Not sure.  Right now I don't have time to read the code to remember how this
all works.  But feel free to jump in and try it...

- Geoff


-------------------------------------------------------
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