Re: servlets and JDBC (postgresql 7.2)

From: Toby Doig <binky(at)plum(dot)flirble(dot)org>
To: tony <tony(at)animaproductions(dot)com>
Cc: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: servlets and JDBC (postgresql 7.2)
Date: 2002-06-25 09:34:39
Message-ID: 20020625103130.C62109-100000@plum.flirble.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Rainer Klute 2002-06-25 11:08:55 Re: servlets and JDBC (postgresql 7.2)
Previous Message tony 2002-06-25 07:20:33 Re: servlets and JDBC (postgresql 7.2)