Needed help. urgent.

I want to generate an nine digit unique random number and store it in an xml file.

I should be able to append the xml file each time when I generate a new random number.

And also when it generates a new rondom number it should make sure that number dosen't

already exist in the xml file. Any help would be appreciated.

[344 byte] By [skp71a] at [2007-11-27 7:34:00]
# 1
Look to Math#random() or java.util.Random to generate random numbers.You can use the java.io API to write a String to a file and eventually JXPath or DOM4J to build XML.
BalusCa at 2007-7-12 19:14:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...