The PSPDocs.psp example fails with its use of includeURL, both with the new patch on SF as well as without it.

The problem is executing in the PSPExamples context, which maps to the PSP/Examples directory. The URL it attempts to include is ../Docs/UserGuide.html which, when translated through includeURL() does not leave the current context.

Now we're back to the question of what is the correct interpretation of the URL in the includeURL function.

Should this test work? Did it work at one time?

The Docs directory is outside of the PSPExamples context, in fact, it isn't even in a context.

Another solution could be to implement includeURL across contexts, and then add a PSPDocs context.

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?

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.

Anybody have any ideas on how this should be handled?
-Stuart-





-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to