Mamoon Rashid wrote:
> Although i am able to execute this from terminal.The following are the
> syntax to load the driver and connect to the database server in JDBC
Looks like a classpath problem. Make sure the driver jar is in the
classpath your servlet engine use. You might want to add a
"e.printStackTrace()" to the catch-blocks as well to get a more detail
error message.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com