Re: Using common sitemesh decorators for all web apps

Scott Farquhar <[email protected]> Tue, 17 May 2005 10:28:31 +1000
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <[email protected]>
Martin,

On Mon, May 16, 2005 at 09:36:23AM -0500, Martin Denham wrote:
> This thread looks like it could be tremendously useful to us.  We have stuiggled for a long time to create a shared look & feel across different web-apps without copying at build time.  However, could you clarify what you mean when you say:
>    'put the sitemesh jar in a common lib directory that both web applications can access'
> 
> In Weblogic we can put jars in WEB-INF/lib, the ear, or the system classpath.
> 
> As WEB-INF/lib is not common, do you mean the ear or system classpath?  are these the only alternatives?  We try to keep as many jars out of the system classpath as possible and our wars are not in the same ear.

I think you have answered your question?  If the only common classpath is
the system classpath, then you need to use that?

I'm not aware of how it works with Weblogic, but other application
servers have an application server lib directory ('common/lib' in tomcat,
'lib' in Orion) that you can use without using the system classpath.

Cheers,
Scott 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]