1. JavaScript calls the applet to create the data
3. applet serializes data to a string (using
ObjectOutputStream(StringWriter))  - you'll need some extra plumbing
though
2. a method returns the data JavaScript which stores it in a hidden
field on a form pointing to your servlet
3. JavaScript SUBMITs the form to the servlet which takes the field
and un-serializes it and formats it as whatever then sends a response
back.

If you get the target of you form right JS will handle popping up the
new window.

The only trouble with this is that JS can be a bit unstandard about
talking to applets.





Nic Ferrier
Tapsell-Ferrier Limited
http://www.tapsellferrier.co.uk

"Use Ockham Luke"

___________________________________________________________________________
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