struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Muench" <>
Subject Sharing JSP's across WAR files? Any Tricks?
Date Thu, 06 Jun 2002 13:36:33 GMT
Not strictly Struts related but I'm hoping that some of you
might have run into this in your appbuilding.

I'm trying to help a customer who wants to bundle a 
page like common.jsp into a "/common" context root
in a common.war

and then have a page like myapp.jsp in a "/myapp" context root
in a "myapp.war" file be able to do:

  <jsp:include path="/common/common.jsp"/>

Short of copying all of the files from common.war into myapp.war,
is there any trick to have JSP pages shared across WAR files 
like this?

The JSP 1.2 spec seems to prohibit this from my reading of it
in that it resolves a "/something" relative to the WAR's context root,
but I figured maybe I was reading it wrong.


Steve Muench - Developer, Product Mgr, Java/XML Evangelist, Author
Simplify J2EE and EJB Development with BC4J
Building Oracle XML Apps,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message