Jeremy Boynes wrote: > Lyndon Samson wrote: > > The JSP PageContext.forward method takes a relative URI. > > However I'd like to forward control to an in-memory > > representation of a JSP rather than a URI backed by a > > file in the filesystem.
> Isn't that a servlet mapping, where your "in-memory JSP" > is really a servlet? The Servlet/JSP container is responsible for loading/unloading as necessary. As a general rule, the servlet class would be memory resident once invoked. > > A CMS for example may want load its JSP pages from a > > DBMS rather than the filesystem. Orthogonal issue. Not sure where tomcat would have the best hook for that, since I have not looked, but perhaps a Valve. Craig would probably be the best person to ask. It is not something in the Servlet Specification. --- Noel