> ========================== > Date: Fri, 06 Jan 2006 17:15:45 +0100 > From: Christian Stalp <[EMAIL PROTECTED]> > To: Tomcat Users List <users@tomcat.apache.org> > Subject: Re: forwarding JDOM-Objects > ========================== > > Duan, Nick schrieb: > > >Don't forget type casting the object. > > > > > > > String mystring = req.getAttribute("Object").toString(); > Document mydoc = mystring.? > > Casting from String to JDOM doesn't work!!! > So which way you prefer? > > Thank you... > > Gruss Christian
I'm not sure... but I remember that it is possible to build a JDOM document from a stream... G. -- Giuseppe Briotti [EMAIL PROTECTED] "Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius." (Orazio) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]