Hello "SriLatha"-
Welcome to JavaRanch.
On your way in you may have missed that we have a
policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do
right here.
As to your question, applets run in a "sandbox" that prohibits them from doing a number of things, and which throws AccessControlExceptions if they are trying to do those things. See
http://faq.javaranch.com/java/HowCanAnAppletReadFilesOnTheLocalFileSystem for ways around that.
[ January 29, 2008: Message edited by: Ulf Dittmer ]