tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giuseppe Briotti <g.brio...@mclink.it>
Subject Re: forwarding JDOM-Objects
Date Fri, 06 Jan 2006 17:38:51 GMT
> ==========================
> Date: Fri, 06 Jan 2006 17:15:45 +0100
> From: Christian Stalp <stalp@imbei.uni-mainz.de>
> 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
g.briotti@mclink.it

"Alme Sol, curru nitido diem qui 
promis et celas aliusque et idem 
nasceris, possis nihil urbe Roma 
visere maius."
                        (Orazio)





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message