Chuck

>> How do you all configure the location of a special folder that is not 
>> part of the deployment package itself?  A site-specific config file perhaps?
>
> Take a look at this:
> http://tomcat.apache.org/tomcat-8.5-doc/config/resources.html
>
> A <Resources> element within <Context> allows specification of areas outside
> of the Tomcat deployment that the webapp can access via ServletContext
> .getResource() or getResourceAsStream().

Thanks for pointing that out.  Hmm...  It looks like getResourceAsStream might 
work.  We use a library to processes the files.  Currently we supply it with a 
java.io.File as an input source, but the library also can accept a 
java.io.InputStream for input too.

--
Cris Berneburg
CACI Lead Software Engineer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to