This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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.
Joined: Aug 15, 2004
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.