You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lionel Crine <lc...@linagora.com> on 2007/11/14 22:41:00 UTC

Re: mapping directory in Tomcat?

To complete the answer, you can use JNDI variables.

Hassan Schroeder wrote:
> On 9/5/07, Angelo Chen <an...@yahoo.com.hk> wrote:
> 
>> The servlet mapped directory sounds interesting, can you give me some more
>> info about that?
> 
> Not much to say; your servlet would take the pathInfo part of the
> URL and read that image out of the filesystem.
> 
> The path to your external temp directory could be hardcoded in the
> servlet, set in web.xml, or read from a properties file (my pref).
> 
> Pretty straightforward...
> 
> HTH!

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org