Results 1 to 3 of 3
  1. #1
    Zazie is offline Member
    Join Date
    Jun 2014
    Posts
    12
    Rep Power
    0

    Default Java EE+MySQL DB+JDBC+JSP

    I am using Java EE+MySQL DB+JDBC+JSP.
    On web browser after adding information to table (DB) I would like to output data into DB in Html.
    How is it possible?

  2. #2
    Join Date
    Apr 2014
    Location
    http://www.roytuts.com
    Posts
    51
    Rep Power
    0

    Default Re: Java EE+MySQL DB+JDBC+JSP

    google can help you

  3. #3
    tolu-david is offline Member
    Join Date
    Oct 2014
    Posts
    1
    Rep Power
    0

    Default Re: Java EE+MySQL DB+JDBC+JSP

    create connection to to the db table you want to get data from and use the executeQuery() method of resultSet class passing "select * from tableName" as the parameter.
    Then in the html form set method attribute to "get" and in table to display values set values of to<td><%= rs.getString %></td> for every data you want to display from your database table.

Similar Threads

  1. Replies: 1
    Last Post: 11-11-2013, 04:42 PM
  2. Replies: 2
    Last Post: 06-22-2013, 06:26 PM
  3. Replies: 5
    Last Post: 09-25-2012, 06:36 PM
  4. JDBC Problem - com.mysql.jdbc.Driver
    By icu222much in forum Advanced Java
    Replies: 5
    Last Post: 11-22-2011, 05:54 PM
  5. Java JDBC/MySQL appropriate Syntax
    By thelinuxguy in forum Advanced Java
    Replies: 7
    Last Post: 02-10-2009, 08:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •