I have seen several posts in this forum and couldn't find out that whether am supposed to send serialised object,multipart stream or octet stream as content type when transferring image from applet to servlet.I have done this applet to servlet variable value transfer.But while transferring images am not at all getting a clue.I need the image file to be in fileformat at the server's end.
This what is my code for sending a variable(password) content to servlet from applet.Can you tell what are the changes in code i shall do for sending image file to servlet from applet??
// get input data for sending
String input = pass.getText();