Ryszard Lach wrote:
>
> and I still receive an error (included at bottom of the message) while calling
> Class.forName("postgresql.Driver") in a .jsp file located in .../webapp/my_app
> directory.
Try not using the DriverManager, like so:
Driver drv = org.postgresql.Driver;
Connection conn = drv.connect("jdbc:postgresql:localhost", "username",
"password");
Worked for me (although you should look for the exact connect-method,
I'm not very sure about this one).
Kind regards,
Tim Stoop
- Problem with Postgresql JDBC driver Ryszard Lach
- Re: Problem with Postgresql JDBC driver Tim Stoop
- Re: Problem with Postgresql JDBC driver Ryszard Lach
- Re: Problem with Postgresql JDBC driver David Wall
- Re: Problem with Postgresql JDBC driver Luba Powell
- Re: Problem with Postgresql JDBC driver Jeff Waugh
- Re: Problem with Postgresql JDBC driver Ryszard Lach
- Re: Problem with Postgresql JDBC driver Jeff Waugh
- Re: Problem with Postgresql JDBC driver Ryszard Lach
- Re: Problem with Postgresql JDBC driver Luba Powell
- Re: Problem with Postgresql JDBC driver Luba Powell
