By type casting I mean:

Document mydoc = (Document) req.getAttribute("yourobjname");

Viel Glueck!

ND

-----Original Message-----
From: Christian Stalp [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 06, 2006 11:16 AM
To: Tomcat Users List
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


---------------------------------------------------------------------
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]

Reply via email to