- From: Wes Biggs <wes@cacas.org>
- Date: Sat, 23 Oct 1999 21:07:52 -0700
- To: www-jigsaw@w3.org
Hello all, I'm developing GNUJSP (http://www.klomp.org/gnujsp/) using Jigsaw 2.1.0. Thank you for providing an excellent piece of software and a very good servlet API implementation. Jigsaw's implementation of javax.servlet.RequestDispatcher handles an include() method call by setting the HttpServletRequests's parameters (requestURI, pathInfo, etc.) to those of the newly included resource. However, on return it doesn't reset them to the original values. JSP specifies a PageContext.include(relativeURI) function which GNUJSP implements. We need to be able to examine the current request context to "calculate" the new URI, and if this includes directories from previous include calls made during this request, there's no way to reliably reconstruct the current request URI. As another implementation strategy, the latest Servlet API specification recommends (mandates?) the use of request attributes to hold the new (included) path information: javax.servlet.include.request_uri, etc. Thanks, Wes
Received on Sunday, 24 October 1999 00:11:50 UTC