Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-20 Thread Ken Miller
>>> On 4/20/2007 at 9:16 AM, in message <[EMAIL PROTECTED]>, "Craig McClanahan" <[EMAIL PROTECTED]> wrote: > On 4/20/07, Ken Miller <[EMAIL PROTECTED]> wrote: >> ... >> When I first started getting struts working in my environment, I deployed > the application with the struts jar files in the li

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-20 Thread Craig McClanahan
On 4/20/07, Ken Miller <[EMAIL PROTECTED]> wrote: >>> "Craig McClanahan" <[EMAIL PROTECTED]> 4/17/2007 4:33 PM >>> > > Craig McClanahan wrote: > > Yep ... it's magic :-). Ah, magic. Lots of hand waving, followed gasps and applause :-) Guys, thanks for the great info - this has all been really

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-20 Thread Ken Miller
>>> "Craig McClanahan" <[EMAIL PROTECTED]> 4/17/2007 4:33 PM >>> > > Craig McClanahan wrote: > > Yep ... it's magic :-). Ah, magic. Lots of hand waving, followed gasps and applause :-) Guys, thanks for the great info - this has all been really helpful. However, I do have one question regard

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-17 Thread Craig McClanahan
On 4/17/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Craig, Craig McClanahan wrote: > Craig McClanahan wrote: > Yep ... it's magic :-). > > Actually, what happens is that the servlet container provides a > mechanism to acquire the ClassLoader

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Craig, Craig McClanahan wrote: > Craig McClanahan wrote: > Yep ... it's magic :-). > > Actually, what happens is that the servlet container provides a > mechanism to acquire the ClassLoader instance for the web application > itself, from which you ca

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-17 Thread Craig McClanahan
On 4/17/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Craig, Craig McClanahan wrote: > The naive way for a library to do this is: > >String className = ...; // Calculate the name of the class you want >Class clazz = Class.forName(classN

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Craig, Craig McClanahan wrote: > The naive way for a library to do this is: > >String className = ...; // Calculate the name of the class you want >Class clazz = Class.forName(className); > > * If commons-foo.jar is stored in a shared classlo

Re: Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-17 Thread Craig McClanahan
On 4/16/07, Ken Miller <[EMAIL PROTECTED]> wrote: Can someone point me (or at least give me a clue) where a potential problem may exist? I've configured my server to have a shared set of Commons and Struts jars (something I did before reading the above paragraph), and it appears to work, but I'

Struts 1.3.8: "Sidebar: Sharing JAR Files Across Web Applications"

2007-04-16 Thread Ken Miller
I have a question regarding the above section in the user guide for Struts 1.3.8, which can be found here: http://struts.apache.org/1.3.8/userGuide/configuration.html#config_add In particular, I'm interested in the following paragraph: - When a class is loaded from a shared