struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Muench" <Steve.Mue...@oracle.com>
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.

Thanks.

__________________________________________________________________
Steve Muench - Developer, Product Mgr, Java/XML Evangelist, Author
Simplify J2EE and EJB Development with BC4J
http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html
Building Oracle XML Apps, www.oreilly.com/catalog/orxmlapp


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message