if you are talking about java.lang.Object, there is a toString() method. by
default, it will return "a string consisting of the name of the class of
which the object is an instance, the at-sign character '@', and the unsigned
hexadecimal representation of the hash code of the object." (copied from
jdk1.1 spec:) you can overwrite it in your derived (from Object) class to
let it output whatever message you like.
you can try the output from toString() method by
System.out.println(yourObjectName);
----Original Message Follows----
From: K Shaikh <[EMAIL PROTECTED]>
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
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
___________________________________________________________________________
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