Hi,

It is simple.

Have a method returnAsXMLNode() in all your classes which you use for
communication. This will return an XML Node of that object.

Then pass this in form of XML stream as parameter to applet. You can also
compress the XML stream before sending them across. Please refer API.

Hope this helps.

Regards
Subbu


>From: Srikanth Rao <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Using XML in applet -servlets comm
>Date: Thu, 17 Aug 2000 17:14:50 -0700
>
>Hi All,
>
>In my project i pass a java serialized object from an
>applet to a servlet. But now instead of passing a java
>object i would like ot pass an XML message(this XML
>message is build from the java object which i use to
>pass earlier, and is stored in a .xml file) to the
>servlet. How can i pass the XML message to the
>servlet. Please help me out.
>This is a urgent requirement.
>
>Thanks
>
>__________________________________________________
>Do You Yahoo!?
>Send instant messages & get email alerts with Yahoo! Messenger.
>http://im.yahoo.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

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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

Reply via email to