FOLLOW-UP: Sharing the JSTL JARs and Classloading

2005-01-31 Thread Tony LaPaso
Hi all, On Jan. 22 I posted a message to this group, ?? Sharing the JSTL JARS and Classloading ??, where I described a problem I was having with the JSTL JARs. It seemed that when I put the JSTL JARs (standard.jar and jstl.jar) in Tomcat's shared/lib TC could not find them, contrary to the TC

Re: FOLLOW-UP: Sharing the JSTL JARs and Classloading

2005-01-31 Thread Parsons Technical Services
PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Monday, January 31, 2005 9:21 PM Subject: FOLLOW-UP: Sharing the JSTL JARs and Classloading Hi all, On Jan. 22 I posted a message to this group, ?? Sharing the JSTL JARS and Classloading ??, where I described a problem I was having with the JSTL JARs

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-23 Thread Mark Thomas
Tony LaPaso wrote: Incidentally, in reading the Tomcat docs for Classloading, it seems that any classes in a web app's lib directory *should* be able to see classes in the shared/lib directory. Similarly, any classes in shared/lib *should* be able to see what's in common/lib. This works as you

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-23 Thread Nikola Milutinovic
Wendy Smoak wrote: From: Tony LaPaso [EMAIL PROTECTED] You have some good points, Jake. Thank you for the response. If you happen to run across the statement from Craig M. regarding Struts I'd like to see it. http://struts.apache.org/faqs/kickstart.html#jar The struts.jar file MUST be in each

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-23 Thread Tony LaPaso
Users List tomcat-user@jakarta.apache.orgSent: Sunday, January 23, 2005 9:21 AMSubject: Re: ?? Sharing the JSTL JARS and Classloading ?? Tony LaPaso wrote: Incidentally, in reading the Tomcat docs for Classloading, it seemsthat any classes in a web app's lib directory *should* be able to seeclasses

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-23 Thread Tony LaPaso
- Original Message - From: Nikola Milutinovic [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Sunday, January 23, 2005 12:32 PM Subject: Re: ?? Sharing the JSTL JARS and Classloading ?? One other note - Tomcat gives you a framework contract, a contract

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-23 Thread Frank W. Zammetti
Tony LaPaso wrote: There's a more important issue at work here than whether or not I have to put the JARs in common/lib or shared/lib: When writing code it's considered a bad practice (and I think, rightfully so) to copy and paste the same code to various locations. Instead, we factor out

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-23 Thread Mark Thomas
Tony LaPaso wrote: Mark, When you cleaned out the caches (by deleting the work directory) were you able to move the standard.jar and jstl.jar to shared/lib and then be able to use JSTL? Yes. I did that -- I deleted the 'work' directory and then moved the JARs from common/lib to shared/lib and

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-23 Thread Mark Thomas
Mark Thomas wrote: Tony LaPaso wrote: Mark, When you cleaned out the caches (by deleting the work directory) were you able to move the standard.jar and jstl.jar to shared/lib and then be able to use JSTL? Yes. I did that -- I deleted the 'work' directory and then moved the JARs from

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-22 Thread Edoardo Panfili
Tony LaPaso ha scritto: Hi all, I'm using TC 5.0.30. JSTL Is working fine -- I have the standard.jar and jstl.jar files in my WEB-INF/lib directory. The problem is that I have several web applications that use JSTL and therefore several WEB-INF/lib directories. Rather than copy the

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-22 Thread QM
On Sat, Jan 22, 2005 at 01:24:54AM -0600, Tony LaPaso wrote: : The problem is that I have several web applications that use JSTL and : therefore several WEB-INF/lib directories. Rather than copy the : aforementioned JAR files to *every* WEB-INF/lib directory I'd rather put : them in one central

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-22 Thread Jacob Kjome
Not all libraries are written in a way that allows for them to be used from different webapps. Struts has a statement on this written by Craig McClanahan, but I can't find it at the moment. The gist of it is that Struts (at least with 1.1) cannot be guaranteed to work properly if placed in a

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-22 Thread Tony LaPaso
- From: QM [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, January 22, 2005 8:57 AM Subject: Re: ?? Sharing the JSTL JARS and Classloading ?? On Sat, Jan 22, 2005 at 01:24:54AM -0600, Tony LaPaso wrote: : The problem is that I have several web applications

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-22 Thread Tony LaPaso
) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) - Original Message - From: Jacob Kjome [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, January 22, 2005 10:30 AM Subject: Re: ?? Sharing the JSTL JARS and Classloading ?? Not all libraries

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-22 Thread QM
On Sat, Jan 22, 2005 at 04:43:20PM -0600, Tony LaPaso wrote: : Call me a minimalist but I don't like the idea of having the same JAR file : duplicated if I don't have to. It takes more memory since each web app's : classloader needs to have the same classes in memory. It seems much cleaner : to

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-22 Thread Wendy Smoak
From: Tony LaPaso [EMAIL PROTECTED] You have some good points, Jake. Thank you for the response. If you happen to run across the statement from Craig M. regarding Struts I'd like to see it. http://struts.apache.org/faqs/kickstart.html#jar The struts.jar file MUST be in each webapp, and not in

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-22 Thread Larry Meadors
] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, January 22, 2005 8:57 AM Subject: Re: ?? Sharing the JSTL JARS and Classloading ?? On Sat, Jan 22, 2005 at 01:24:54AM -0600, Tony LaPaso wrote: : The problem is that I have several web applications that use JSTL

?? Sharing the JSTL JARS and Classloading ??

2005-01-21 Thread Tony LaPaso
Hi all, I'm using TC 5.0.30. JSTL Is working fine -- I have the standard.jar and jstl.jar files in my WEB-INF/lib directory. The problem is that I have several web applications that use JSTL and therefore several WEB-INF/lib directories. Rather than copy the aforementioned JAR files to *every*