Results 1 to 2 of 2

Thread: help to delete

  1. #1
    andykots is offline Member
    Join Date
    Jan 2009
    Posts
    1
    Rep Power
    0

    Red face help to delete

    static void writefile() throws IOException
    {
    FileOutputStream fw=new FileOutputStream("stud.txt", true);
    ObjectOutputStream os=new ObjectOutputStream(fw);
    Student s1=new Student();
    s1.read_student();
    os.writeObject(s1);
    os.close();
    fw.close();
    }
    Once I write teh record using ObjectOutputStream
    how do I delete records and edit records
    Please help

  2. #2
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    6

Similar Threads

  1. Delete Button
    By Zoroxeus in forum JavaServer Faces (JSF)
    Replies: 3
    Last Post: 10-26-2008, 02:45 PM
  2. Delete
    By Sarinam in forum New To Java
    Replies: 6
    Last Post: 07-23-2008, 11:09 AM
  3. Delete From .txt file
    By Sarinam in forum New To Java
    Replies: 86
    Last Post: 06-28-2008, 10:17 AM
  4. How to delete a file
    By Alpha in forum New To Java
    Replies: 1
    Last Post: 05-26-2007, 08:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •