Don't forget type casting the object. ND
-----Original Message----- From: Christian Stalp [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 10:06 AM To: Tomcat Users List Subject: Re: forwarding JDOM-Objects Duan, Nick wrote: >You shouldn't use req.getParameter(..). Instead, use the setAttribute >and getAttribute methods in HttpServletRequest. No need to pack/unpack >JDOM. You can pass an object via request. > > > So... String mystring = req.getAttribute("Object") Document mydoc = mystring.? <--- and now? Thank you... Gruss Christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]