-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David and Sachin,
David Smith wrote: > The best method I can think of is to store the jsp in a directory > outside your tomcat and outside your webapp. Then configure the path to > the storage in either the context.xml or web.xml for your webapp and use > a ServletContextListener to load up an application scope attribute with > the path. Lastly a slightly modified version of the default servlet > could offer up the jsp files as type text/plain. The benefits of > storing the files in a location outside tomcat and the webapp include > easy upgrade of both and inhibiting execution of the jsp. Another option is to place your uploaded files in a particular subdirectory and then configure the JSP servlet to ignore that directory. Or probably more appropriately, configure that directory to serve everything through the generic servlet that just does static content. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFtka/9CaO5/Lv0PARAogmAJ4kEkBXUBlAdJw2KaqQZPklrIGZBQCgrxTQ JzE0oInPKl/uCMKn7JPM3p4= =HiX+ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]