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!
894359Asked:
Who is Participating?
 
objectsConnect With a Mentor Commented:
jsp:include executes the specified page during request processing, so any includes in inc1.jsp will be relative to inc1.jsp.
0
 
objectsCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.