Results 1 to 6 of 6
  1. #1
    Chetans is offline Member
    Join Date
    Feb 2010
    Posts
    15
    Rep Power
    0

    Default How to use .xml files in java.

    I want to save some context in .xml file in java-applet programming.....
    I want to make the changes in that file through coding.
    how to do this?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    exfreelance is offline Member
    Join Date
    Apr 2010
    Posts
    3
    Rep Power
    0

    Default

    You can use SAX ot DOM of Java API to do that
    ExFreelance-Project Bidding System

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Give a try and let us know. This is a forum, not a place to get your work done. And also search our forum, you can find lots of similar threads there. :)

  5. #5
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    Quote Originally Posted by Chetans View Post
    I want to save some context in .xml file in java-applet programming.....
    I want to make the changes in that file through coding.
    how to do this?

    in Introducing Persistence you should find an answer to your question, because ...

    This tutorial is designed to teach beginning Java programmers how to save Java objects to disk files using XML or object serialization.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Replies: 8
    Last Post: 07-30-2010, 05:47 PM
  2. Batch Files in java
    By coco in forum New To Java
    Replies: 3
    Last Post: 12-05-2008, 01:30 PM
  3. conversion of java .class files to .java files
    By kotturupraveen in forum New To Java
    Replies: 2
    Last Post: 06-09-2008, 12:58 PM
  4. JAR file with .java files
    By ravian in forum New To Java
    Replies: 7
    Last Post: 12-24-2007, 08:15 PM
  5. Help with array and files in java
    By fernando in forum New To Java
    Replies: 1
    Last Post: 07-31-2007, 07:52 PM

Posting Permissions

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