try the method below. It is part of the Any class, atleast it is on the ORB
I am using.
public String extract_string() throws org.omg.CORBA.SystemException;
-Howard.
> -----Original Message-----
> From: K Shaikh [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 14, 1999 11:07 AM
> To: [EMAIL PROTECTED]
> Subject: Any to String
>
> My servlet talks to a server through CORBA interface
> and gets a "Any" object. I heard that there's a
> static method to convert the value inside the "Any" object
> to a string (no matter what the actual type inside is).
> Does someone know what this method is?
>
> - Karim
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html