On 07/07/2003 14:01 Sonjoy Datta wrote:
> Hi,
>
> I'm doing a MSc Project and have used a postgres database. I want to
> connect my java servlet with the database but encounter problems
> connecting with the driver class. I know that many Internet sites state
> that the org.postgresql.Driver is the correct driver class but I cannot
> obtain a connection.
>
> Please can somebody tell me what the problem may be and how it can be
> solved.
Not without a great deal more information. Post the code you are using
plus a stack trace of the exception and someone might be able to help.
BTW, there is a web site called java.sun.com which has a tutorial on JDBC.
Maybe you should read that.
HTH
--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+