Re: servlets and JDBC (postgresql 7.2) - Mailing list pgsql-jdbc

From Toby Doig
Subject Re: servlets and JDBC (postgresql 7.2)
Date
Msg-id 20020625103130.C62109-100000@plum.flirble.org
Whole thread Raw
In response to Re: servlets and JDBC (postgresql 7.2)  (tony <tony@animaproductions.com>)
List pgsql-jdbc
> > Can you tell me what's supposed to be the difference
> > between common/lib and lib?

as i understand it, /common/lib is where you stick libraries (jars etc)
that you want your applications (webapps) to be able to make use of. so
anything in this folder should be accessible in your servlets across all
contexts, unlike putting it in the WEB-INF/lib of a particular context
which makes it only available to that context.
the /lib is where you stick stuff yto make it available to the tomcat
server itself, but unless you're developing tomcat then i doubt you'd need
this. however, the reason this works is because since its available to
tomcat its available to your contexts as well. its a hierarchy.

i must confestt that i do the same as you, i stick stuff in /lib since
i've experienced wierdness putting it in common/lib.

toby




pgsql-jdbc by date:

Previous
From: tony
Date:
Subject: Re: servlets and JDBC (postgresql 7.2)
Next
From: Rainer Klute
Date:
Subject: Re: servlets and JDBC (postgresql 7.2)