Hi! I need to send an interface from an applet to a servlet. In fact, I need to the Document interface (found in javax.swing.text) to a servlet from an applet because I need to write the contents of this document (with all the formatting) into a file on the server. My requirement is as follows: The applet is like a mini text editor where the user can enter text. This text can be formatted also. i.e he can make the text BOLD, ITALIC or UNDERLINE. We were using the demo that ships with the JDK1.2.2 called StylePad. (jdk1.2.2\demo\jfc\StylePad). We converted this application to an applet and are using the same. It is this formatted text that has to be written to a file on the server. How do we do it? Is there anything specific I need to set for the content type? At present, I am getting the following exception: java.io.StreamCorruptedException: Caught EOFException while reading the stream header Regards, Vijay. ____________________________________________________________________ Get free email and a permanent address at http://www.amexmail.com/?A=1 ___________________________________________________________________________ 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
