You must wrap the InputStream with a try catch statement. E.g.
try { InputStream ... }catch(IOException e) {} Date: Sat, 24 Jan 2009 08:33:58 -0800 From: pranavfam...@yahoo.com To: java-ee-j2ee-programming-with-passion@googlegroups.com Subject: Hi, I am very new to java programming. I am writing a simple java program ing NetBeans IDE 6.5. I am trying to create an object of FileInputStream class but keep getting FileNotFound Exception. I have attached the screen shot below. Any help is appreciated. Thanks in advance for your help</table _________________________________________________________________ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/events.aspx --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---