I am trying to make a eclipse dynamic web project. I have tried putting a pdf file in the "WEB-INF" directory of the project. But when I try to obtain a input stream using

`InputStream inStream = getServletContext().getResourceAsStream("/WEB-INF/mypdf.pdf");`

I get `inStream = null`. I also tried putting the `mypdf.pdf` file in the directory the class from where I am trying to obtain the input stream and use

`InputStream inStream = getServletContext().getResourceAsStream("mypdf.pdf");`

again, it returns `inStream = null`

Any suggestion?