insert image and other details to mysql

Posted on 2004-10-27
Medium Priority
Last Modified: 2010-08-05

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...
Question by:widiyanto
1 Comment
LVL 35

Accepted Solution

TimYates earned 320 total points
ID: 12431132

seems to point to the parameters;

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

Hope this helps :-)

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

If you have a smartphone, I'm sure you've noticed that web applications are changing. Yet, are you aware of how these changes are going to impact your organization or company?
In this age of digitization where the online market is increasingly becoming competitive each day, I’ll give you the truth bomb: simply putting your business out there is not enough. Sure, you’ve got impressive content and interesting graphic design.
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…

601 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