<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.28">
<TITLE>[jdom-interest] forwarding JDOM-Objects</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText54203 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Something like this should
work</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Document mydoc = new SAXBuilder().build(new
StringReader(mystring));</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> jdom-interest-bounces@jdom.org on behalf
of Christian Stalp<BR><B>Sent:</B> Fri 1/6/2006 12:53 PM<BR><B>To:</B>
jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] forwarding
JDOM-Objects<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hello out there,<BR>I have a special problem. I wrote this
allready into the tomcat user<BR>list, but maybe somone here has a good solution
for my problem.<BR>I want to forward a JDOM-object from one servlet to another
in the same<BR>servlet-container. I thought I write this JDOM to a string,
transfer it<BR>and unpack it at the other side.<BR><BR>BUT I cannot find a way
to extract a JDOM from a String delivered by a<BR>HttpServletRequest.<BR>I tried
it this way:<BR>String mystring =
req.getParameter("Objekt");<BR> Document
mydoc = mystring.? <- no method found<BR>I thought there was a method
anyway. What can I do here?<BR><BR>Thank you and...<BR><BR>Gruss
Christian<BR><BR>_______________________________________________<BR>To control
your jdom-interest membership:<BR><A
href="http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com">http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com</A><BR></FONT></P></DIV>
</BODY>
</HTML>