[jdom-interest] forwarding JDOM-Objects

Edelson, Justin Justin.Edelson at mtvn.com
Fri Jan 6 10:24:30 PST 2006

Something like this should work
Document mydoc = new SAXBuilder().build(new StringReader(mystring));


From: jdom-interest-bounces at jdom.org on behalf of Christian Stalp
Sent: Fri 1/6/2006 12:53 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] forwarding JDOM-Objects

Hello out there,
I have a special problem. I wrote this allready into the tomcat user
list, but maybe somone here has a good solution for my problem.
I want to forward a JDOM-object from one servlet to another in the same
servlet-container. I thought I write this JDOM to a string, transfer it
and unpack it at the other side.

BUT I cannot find a way to extract a JDOM from a String delivered by a
I tried it this way:
String mystring = req.getParameter("Objekt");
       Document mydoc = mystring.?  <- no method found
I thought there was a method anyway. What can I do here?

Thank you and...

Gruss Christian

To control your jdom-interest membership:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20060106/a16b11a9/attachment.htm

More information about the jdom-interest mailing list