logo       

Re: servlets and JDBC (postgresql 7.2): msg#00212

db.postgresql.jdbc

Subject: Re: servlets and JDBC (postgresql 7.2)

Hi Frederick,

Copy the postgresql JDBC driver "postgresql.jar" file
to the TOMCAT-HOME/common/lib directory. Restart your
tomcat server. That's it.

Regards,
Satish.

--- Frederick Klauschen <fklauschen@xxxxxxxxx> wrote:
> I would like to establish a postgresql database
> connection from within a Java Servlet, using
> the Apache Tomcat server.
> Unfortunately, I get the error: "No suitable driver
> found"
> When trying to connect a Java application to the
> same database (same settings (same classpath)),
> everything works fine.
> Is there something special about JDBC and servlets,
> that might have caused this error?
>
> Thanks,
> Frederick
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo@xxxxxxxxxxxxxx
>
>


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise