I'm trying to delete a file but my code doesn't work, and I don't know the cause
can you help me?
FileInputStream fins= new FileInputStream(mypath);
BufferedReader brd = new BufferedReader(new InputStreamReader(fins));
out.println("file not deleted");