jQuery in Action, 3rd edition
The moose likes Struts and the fly likes uploading images using jsp in strut Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "uploading images using jsp in strut" Watch "uploading images using jsp in strut" New topic

uploading images using jsp in strut

kalpana srinuvasan

Joined: Jul 08, 2008
Posts: 9
pl help me to upload the images from the client machine and have to save in the oracle database using struts in jsp page .
i am using DAO' s to insert the data into the table .
i need the code which get the image from the client , and save it as blob in the database(in my table )..
please help me
thanks in advance ..
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 430

To upload a file see:
Don't forget to include commons-fileupload and commons-io in your lib-folder.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You didn't specify whether you were using Struts 1 or Struts 2, and this makes a difference in how you approach this problem. The links Joachim gave you are for Struts 2. If you're using Struts 1, see this link.

Consultant, Sima Solutions
I agree. Here's the link: http://aspose.com/file-tools
subject: uploading images using jsp in strut
It's not a secret anymore!