> Hi Everybody,
>
[quoted text clipped - 11 lines]
> Thanks,
> John
Looking but still not finding...
I've been looking through some of the tomcat resources I have
available and still not finding what I'm looking for.
Sharing of other resources across multiple applications would also be
nice (e.g. css files, images, etc).
Thanks,
John
Pritam Barhate - 05 Jan 2008 04:50 GMT
> I would like to have a single jsp that I can use across multiple
> applications (using tomcat) without having to deploy multiple copies
[quoted text clipped - 3 lines]
> jsp:directive.include from multiple applications to include this file
> in a given jsp). Is this possible?
Yes it is possible what you are looking for is JSTL core tag library
tag, <c:import> search for a tutorial on how to use it. I think your
problem will be solved. But then there are some complications such as
use of images in the imported content, which is presented in this
article
http://www.ibm.com/developerworks/java/library/j-jsp06173.html#N10102
Though I have not tried it, using absolute urls in the imported
content should solve it.
Pritam