As was mentioned earlier, you could use the JSTL import tag. Note, this still doesn't give you access to the JSP source of the other page.
Short of using JSTL, there is no simple way of doing this. You would need to do as the JSTL import tag does and write code that makes a request and parses the results.
Why are you trying to import pages from other applications? I ask because there might be better alternatives.
Originally posted by Ben Souther: These will not work. Both look for resources within your webapp.
See the entry in the JSP FAQ for more details about how the JSP include directive and action tags work.
Thanks buddy. Although, never tried it myself. I thought it might work like relative paths. But now I realize that it wouldn't work and would be completely illogical as well. Truly saying I was tryin to be smart *ss.
sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
a bit of art, as a gift, that will fit in a stocking