• Post Reply Bookmark Topic Watch Topic
  • New Topic

File upload and download

 
Hardy Chou
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know how to do this using jsp/servlet...
<FORM METHOD="POST" ACTION="servlet/uploadServlet" ENCTYPE="multipart/form-data">
<FONT COLOR="#00FFFF">Upload :</FONT>
<INPUT TYPE="FILE" NAME="SRC" SIZE="50"><BR>
<INPUT TYPE="FILE" NAME="SRC" SIZE="50"><BR>
<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
 
Phil Bolduc
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out http://www.servlets.com/cos/index.html
Phil
 
Hardy Chou
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already did make it run... thanks anyway for the link...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!