I applied the includeURL patches with a few modifications. Thanks to
Luke for your help and for testing this.
In the process, I discovered a couple of anomolies that I wanted to
bring up.
The forward() method runs through dispatchRequest(). If the URL is a
directory that does not end in a '/' this results in a redirect. This
means that no data can be passed through the request or transaction
objects. It seems like we could just make forward() pretty much
identical to include() but to handle clearing the strmout, and fixing up
any session information like forward tries to do right now. Does this
make sense?
Note that referencing a directory without the trailing '/' is
discouraged. Currently the serverSideInfoForRequestNewAlgorithm and
OldAlgorithm deal with this a little differently.
The URL's are now relative to the current servlet, and absolute
references are based on the current context. I am concerned about this
breaking existing installations. In particular, the PSPDocs.psp page is
broken, because it tries to include "../Docs/UserGuide.html" which is
out of context. That isn't even in any context. Are there other psp
pages which may have been doing this sort of thing? Any suggestions on
how to fix this?
That's all for now...
-Stuart-
-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel
- Re: [Webware-devel] Updated code in CVS. Stuart Donaldson
- Re: [Webware-devel] Updated code in CVS. Ian Bicking
- RE: [Webware-devel] Updated code in CVS. Geoffrey Talvola