Title: RE: include behaviour

I had a the same experience. The way that Orion handles it is to the spec. <jsp:include> includes a file without parsing it. That means that you should receive the url of the included file not the container file. If you want to include a file that will be parsed you need to use <%@ include file="B.jsp" %>.

-----Original Message-----
From: "Thomas Munro" [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 11, 2000 12:58 PM
To: "Orion-Interest"
Subject: jsp:include behaviour


Hello

Something I've noticed: I <jsp:include> JSP page B from page A, and in the
included page B I print out the result of:

   javax.servlet.http.HttpUtils.getRequestURL(request).toString()

When I browse page A under Orion, I see the full URL for page B (the
includee). Under WebLogic, I see the full URL for page A (the includer,
I.E. the URL I typed into my browser).

Hmmm.  Anyone know what's happening there?

Thomas Munro
Software Engineer
Grey Interactive Paris

Reply via email to