You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "n. alex rupp" <ru...@umn.edu> on 2003/12/19 18:52:24 UTC

Struts apps over classloader boundaries

Can Struts applications share information and classes between classloaders in
the same VM?
--
N. Alex  Rupp (n_alex_rupp@users.sf.net)


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: Struts apps over classloader boundaries

Posted by "Craig R. McClanahan" <cr...@apache.org>.
Quoting "n. alex rupp" <ru...@umn.edu>:

> Can Struts applications share information and classes between classloaders
> in
> the same VM?

That's primarily a container question.  If you use Tomcat, for example, any
classes in shared/lib or common/lib is indeed shared across webapps (including
things like static variables).

As for sharing struts.jar itself (and the associated commons libraries), the
short answer is that it *might* work for you.  The longer answer (for 1.1 at
least) is in the user guide:

http://jakarta.apache.org/struts/userGuide/configuration.html#config_add

> --
> N. Alex  Rupp (n_alex_rupp@users.sf.net)
> 
> 

Craig


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org