Try
InputStream inStream = this.getClass
().getClassLoader().getResourceAsStream("file");

Upul

On Tue, Mar 11, 2008 at 6:32 PM, Moley Harey <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Is it possible to load text or image files placed under WEB-INF/classes
> directory?
> If those files are in the classes folder then they are supposed to be in
> the application classpath
> and then there is a method to retrieve them so is not necessary to specify
> the full path to the file?
>
> Thanks in advance!
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Para atras, solo para tomar impulso!
>
> http://chromewaves.blogspot.com/

Reply via email to