Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Upload an image using JavaBeans,JSP,Mysql -- need help!

843836Sep 14 2004 — edited Apr 12 2005
Is there anyone who is knowledgeable in the areas of Java, JavaBeans, JSP, and mysql databases?

I want to accomplish the following scenario:
1) user submits a jpg/gif file from an html form (using <input type="file"> in the form, the user can browse to a file of their choice)
2) upload the jpg/gif file through a combination of Java and JSP's
3) put the jpg/gif into a database on a server and/or into a folder on my local system.

Here are the versions for the components I'm using - Apache Tomact server version 4.1.29
MySql Version 4.0.17
JSP 2.0
Java SDK 1.4

I don't use PHP, ASP, C++, CGI, or Perl. I'm only interested in using JAVA, JavaBeans, JSP, and Mysql (for the database).
If there's anyone who can show me how to accomplish this, I would really appreciate it:)
Thank You:)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 10 2005
Added on Sep 14 2004
23 comments
468 views