This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

File upload and download  RSS feed

 
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...
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!