That's servlet code. In web applications, an easier and fool proof way to get handles to an input stream is to use the ServletContext's getResourceAsStream("path") method where path should begin with "/". The "/" represents the servlet's context.
Joined: Sep 20, 2004
its working now. Thanks you very much. and you know Struts?