?
Solved

insert image and other details to mysql

Posted on 2004-10-27
3
Medium Priority
?
1,293 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
1 Comment
 
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

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