I would like it to work across contexts, or more specifically to work both with absolute references from psp-handler, and within a Webware context. The reason is that I am using psp-handler to direct to PSP pages that are not mapped under Webware's adapter. The PSP pages get processed by webware in a URL address space that has no relative relation to the webware adapter. This allows the PSP pages to have relative URL links that get also do not go through webware and can be directly processed by Apache. Things like requesting images and java applets and other static data therefore do not need to go through webware.-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 14 January 2003 10:17 pm, Stuart Donaldson wrote:Or maybe includeURL should just be include(), and that we really do not pass a URL into it, but a relative file location, relative to the current servlets file location?Again, although I am not working accross different contexts... I am using includeURL from multiple directories. Using / to get the root of my context.It might also be worth noting that my applications context is also the default context =) A curious question is... how does the Java servlet version of the method work? ( I do not remember off the top of my head )A potentially big problem with treating the references as file references, is that now the included, or called servlet does not know where it is in the URL name space, and it is unable to generate actual URL's to reference itself.I thought the URL part was misleading anyways... Makes me believe I could do something like: 'includeURL("http://www.somesite.com")' =) I would not mind seeing it be renamed to just include... if only for consinstancy with the Java Servlet version... which its obviously based on =)Anybody have any ideas on how this should be handled?I have a question. Is there even a reason to allow includeURL to work accross more than one context? My idea of a context is a single application. So all the functionality for that application is included through out various subdirectories within that context.
Furthermore, I want to have PSP pages like this that are callable from Webware's include mechanism, and vice versa. I don't have much need to go back and forth between contexts within Webware, but going back and forth between Webware and the absolute references would be very useful.
The absolute reference is analogous to having Context=None.
Perhaps there is another way to do what I am looking for?
-Stuart-