Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: inserting java array elements to mysql using prepared statements

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    1
    My Mood
    Confused
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default inserting java array elements to mysql using prepared statements

    Hi friends i'm new to java servlets, I have to enter the array elements into mysql database but i dont have an idea how to pass value
    In WRSservlet page i have iecode[i] aray and im passing the array to getter setter in userbean.java and finally i have to insert the values in userDAO filltransaction method but i dono how to insert the array value into database for each transaction , can any one please help me , thanks in advance
    the coding is given below
    Attached Files Attached Files


Similar Threads

  1. Inserting data from ObservableList to MySQL database
    By TiJuan in forum JDBC & Databases
    Replies: 0
    Last Post: June 2nd, 2013, 11:16 AM
  2. If Statements Using Elements in an Array
    By grayaa93 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 25th, 2013, 08:35 AM
  3. MySQL Syntax error in Java prepared statement
    By kc120us in forum JDBC & Databases
    Replies: 4
    Last Post: March 22nd, 2012, 11:31 AM
  4. Inserting pre programmed UI elements
    By luisp88 in forum AWT / Java Swing
    Replies: 2
    Last Post: September 20th, 2011, 12:56 PM