hi you have to use multipart concept for that you better to check in orielly.you should have client like this. and multipat code is avilable for free download in orielly site <html> <head> </head> <body> <FORM METHOD=post ACTION="SaveFile.jsp" ENCTYPE="multipart/form-data"> <INPUT TYPE=file NAME=image ACCEPT="image/gif"> <INPUT TYPE=submit VALUE="Submit"> <INPUT TYPE=reset VALUE="Reset Form"> </FORM> </body> </html> ++++++ removed wholesale quote -MC [ January 22, 2002: Message edited by: Mike Curwen ]
posted 18 years ago
Maybe my question was not so clear just now. What I want is no need for user to choose file, the jsp or applet could send the image to server automatically. The jsp you provided should let the user to choose file. That is not my need.