10 Replies Latest reply: Apr 3, 2007 7:31 AM by 807606 RSS

    getResourceAsStream retrive null

    807606
      hello,

      I want to upload an image the image is in
      C:\Documents and settings\images\myimage.jpg
      
      in my upload servlet I try to read the image 
      String pp = "C:\Documents and settings\images\myimage.jpg";
      
            InputSttream ins = getServletContext().getResourceAsStream(pp);
      
        ins is null 
      
      what shoud be the problem 
      thanks