On 8/16/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:

>
> The ServletContext.getRealPath() call will fail if the webapp is in an
> unexpanded .war or running on a platform without a normal file system
> (e.g., a mobile phone).  Better to use
> ServletContext.getResourceAsStream(), which will function properly in
> all cases.
>

Ok, good to know.  I am fixing my code as we speak.

thanks!

-- brian

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

Reply via email to