Solved

insert image and other details to mysql

Posted on 2004-10-27
1,277 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
Question by:widiyanto
    1 Comment
     
    LVL 35

    Accepted Solution

    by:
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Title # Comments Views Activity
    what is stuck threads? 3 87
    library class in java 1 83
    Lamba in java 8 9 208
    equalIsNot  challenge 43 63
    SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
    Read about why website design really matters in today's demanding market.
    In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
    Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

    875 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now