Rob Elliott wrote:
> Is it possible to obtain access to an arbitrary directory (possibly
> mounted file) which is not below the Tomcat webapps directory from
> within a webapp? GetServletContext.getRealpath("") seems to only access
> directories below the webapp app directory...What exactly do you want to achieve? For example: If you want the contents of the directory /foo/bar to be accessible via, say http://<your Tomcat>/mybardir you simply have to create a <Context> definition with the "docBase"-attribute set appropriately. Regards mks --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
