Hi,
  I am using IBM WebSphere and DB2 database for developing my application.
Can anyone please help me out with the mapping to the database.???
  I wrote the following code but that didnt work.
Please help.

Connection connection;
        try {
         Class.forName("db2.jdbc.driver.DB2Driver");
         String url = "jdbc:db2:JVCLIVE";
         String username = "user";
         String password = "passwd";
         connection = DriverManager.getConnection(url,
                                         username,password);}



________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to