Re: Need Help w. Null Pointer Exception.

2006-08-30 Thread David Smith
getResourceAsStream() will return null if the requested resource is not available. Keep in mind that getRequestAsStream() is rooted to your webapp, so the requested image needs to be found relative to the top level of your web application. --David Steve R Burrus wrote: I need some pretty im

Re: Need Help w. Null Pointer Exception.

2006-08-29 Thread Edoardo Panfili
Steve R Burrus ha scritto: I need some pretty immediate help/assistance with always getting a NullPointerException Java exception when I try to view a particular image in my favorite web browser!!! The line of text in my servlet file which is, I think, problemmatic is a while loop. Well here is