On Thu, 5 Aug 2004, Ing. Francesco Russo - NoCable S.p.A. wrote:
> I have downloaded the jar file from jdbc.postgresql.org corresponding to
> my system features and i have copied it into a directory on my
> development machine (on this pc i use StrutsStudio to develop my web
> application). In StrutsStudio i have included in classpath this
> directory, but when i execute Class.Name("org.postgresql.Driver"), i got
> the exception "java.lang.ClassNotFoundException: org.postgresql.Driver".
>
I'm not familiar with StrutsStudio, but it may be that you need to make
the jdbc driver jar file available to both StrutsStudio for development
and to Tomcat for deployment/execution. For Tomcat the driver jar file
should be placed in $CATALINE_HOME/common/lib.
Kris Jurka