JDK1.5 + JDOM

Has any one tried JDOM with JDK1.5?

I am trying to use XMLOutputter:

-

XMLOutputter outPut = new XMLOutputter();

outPut.ouput(doc,new PrintWriter("OUTPUT.XML"));

-

it throws exception :

symbol : method ouput(org.jdom.Document,java.io.PrintWriter)

location: class org.jdom.output.XMLOutputter

outPut.ouput(doc,new PrintWriter("OUTPUT.XML"));

1 error

Has any one tried it?

[443 byte] By [A.Khana] at [2007-11-26 21:18:03]
# 1
I am sure lots of people have used JDOM with JDK 1.5. But I have a question for you. Did you really try to call the "ouput" method? I would have thought that "output" was a more likely name.
DrClapa at 2007-7-10 2:56:45 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...