How to force an overwrite on read only access file in the java

i have tried the below without success

FilePermission b = new FilePermission(dest.getPath(),"read, write");
OutputStream ostream = new FileOutputStream(dest);


i am getting access denied error still.


help

_________________________________________________________________
Are you in love? Find a date on MSN Personals http://match.msn.com.my/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com

Reply via email to