Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

insert image and other details to mysql

Posted on 2004-10-27
3
Medium Priority
?
1,290 Views
Last Modified: 2010-08-05
Hi,

I am trying to insert image and description of the image to Mysql using JSP. I am using uploadbean to do that... I try the DatabaseUpload sample and it works perfectly... but what makes me puzzled is that how they know which table they want to use? and how to do this? any sample code? Thanks...
0
Comment
Question by:widiyanto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 320 total points
ID: 12431132
http://www.javazoom.net/services/forums/viewMessage.jsp?message=6893&thread=2171&parent=6891&forum=6

seems to point to the parameters;

UploadBean.SQLUPLOADTABLE = "tblData";
UploadBean.SQLUPLOADID = "id";
UploadBean.SQLUPLOADFILENAME = "filename";
UploadBean.SQLUPLOADFILE = "file";

Hope this helps :-)
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With the evolution of technology, we have finally reached a point where it is possible to have home automation features like having your thermostat turn up and door lock itself when you leave, as well as a complete home security system. This is a st…
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question