Re: servlets and JDBC (postgresql 7.2)

Поиск
Список
Период
Сортировка
От Toby Doig
Тема Re: servlets and JDBC (postgresql 7.2)
Дата
Msg-id 20020625103130.C62109-100000@plum.flirble.org
обсуждение исходный текст
Ответ на Re: servlets and JDBC (postgresql 7.2)  (tony <tony@animaproductions.com>)
Список 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 по дате отправления:

Предыдущее
От: tony
Дата:
Сообщение: Re: servlets and JDBC (postgresql 7.2)
Следующее
От: Rainer Klute
Дата:
Сообщение: Re: servlets and JDBC (postgresql 7.2)