A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
How to Upload JPEG file in a server using JSP and Servlet
Joined: Jul 27, 2006
Feb 11, 2008 00:56:00
I want to Upload a JPEG file from the client browser(using
) and store it into a ORACLE DB on the server.....
Can anyone help me.... How can this be done....
Joined: Mar 22, 2005
Feb 11, 2008 01:13:00
The Apache Commons FileUpload package can handle the server side of the upload. This is really a job for a
, not a JSP. The
page has more information.
As to storing the image in a database, a BLOB field can be used. See
for a discussion of whether it's a good idea to store images in a DB.
Ping & DNS, my free Android app for network diagnostics
rocket mass heater
subject: How to Upload JPEG file in a server using JSP and Servlet
How to Upload the Client File To The Server
struts 2 file upload problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014