This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Does anyone know how to do this using jsp/servlet... <FORM METHOD="POST" ACTION="servlet/uploadServlet" ENCTYPE="multipart/form-data"> Upload : <INPUT TYPE="FILE" NAME="SRC" SIZE="50">
<INPUT TYPE="FILE" NAME="SRC" SIZE="50">
<INPUT TYPE="SUBMIT" VALUE="Upload"> </FORM> AND using servlet to save it to the server(i don't know how to do this) and update my database(this part i already know) AND I don't know how to download...from a server using servlet/jsp... Thank you very much. Regards, Hardy Usman
You need to use multi-part HTTP requests. Check the following link and download the first ZIP package. It contains a class named MultipartRequest, or something like that, that you can use from your servlet to perform the file upload. http://www.servlets.com/cos/index.html SAF