Results 1 to 2 of 2
  1. #1
    Ashish1 is offline Member
    Join Date
    Aug 2010
    Location
    kolkata
    Posts
    7
    Rep Power
    0

    Post DB2 Database Connection using JavaScript

    HI!..i'm trying to connect a db2 database on a jsp page..as i've to check the database tables stored in and find a specific table from them...

    Thanx for your co-operation..

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    10

    Default

    What have you tried so far?
    Don't write the DB connection code in the JSP. Put it in a helper Java class.
    You'll probably find this class to be useful: DatabaseMetaData (Java Platform SE 6)

Similar Threads

  1. connection to database
    By manojkumarsahu in forum New To Java
    Replies: 1
    Last Post: 08-06-2010, 09:26 PM
  2. connection to database
    By buston01 in forum JDBC
    Replies: 4
    Last Post: 02-21-2010, 02:32 AM
  3. getting database connection
    By ravidasineni in forum AWT / Swing
    Replies: 1
    Last Post: 11-22-2009, 03:01 AM
  4. How to connect database using javaScript..
    By vinoopraj in forum Advanced Java
    Replies: 1
    Last Post: 03-20-2009, 12:50 PM
  5. database connection in jsf
    By Srikala in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 10-06-2008, 06:53 AM

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
  •