tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Evans <>
Subject Dispatching to a jsp file
Date Fri, 10 Nov 2000 15:30:53 GMT
I think this is a basic servlet API/Jsp question, but I am rather confused.

I have a servlet which needs to send a Jsp page back to the client.  The
servlet decides the location of the file dynamically.  Ideally I do not want
the Jsp files to be in the webroot because I don't want users to access them

I've looked at getRequestDispatcher but this takes a URI, not a file name.  Is
there any way to cause an arbitrary file somewhere to be read by the Jsp
engine and returned to the client?


View raw message