• Post Reply Bookmark Topic Watch Topic
  • New Topic

Upload attachment from JSP to Database?

 
jay lai
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I have a jsp form, and need to get the attachment file
<input type="file" name="attachment" >

I am using Spring controller, how do I get this upload and save into database, the database type for this columns is BLOB in oracle, Many thanks in advance
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was the JSP FAQ entry on uploading not helpful?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!