• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Where does include path info base itself on?

If I have a page (test.jsp) on www.myDomainA.com with an include:

<jsp:include page="http://www.myDomainB.com/includes/inc1.jsp" flush="true"/>

and the "inc1.jsp" include calls another include (inc2.jsp) from the same domain (myDomainB). Is the calling iinclude's (inc1.jsp) path info based on myDomainA or myDomainB?

hard to explain!
0
894359
Asked:
894359
  • 2
1 Solution
 
objectsCommented:
jsp:include executes the specified page during request processing, so any includes in inc1.jsp will be relative to inc1.jsp.
0
 
objectsCommented:
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now