Re: How to figure out the caller of in a Tiles JSP file?

2002-12-04 Thread Colin Kilburn
Hi Zsolt,

Did you ever figure out a programmatic way to do this?  I'd be very 
interested in knowing how as well.  Anyone else?  

Colin

Zsolt Koppany wrote:

Hi,

in Tiles JSP files, request.getRequestURI() seems to return the URL of the 
includes Tiles file. How can I figure out the URL of the includor? I means 
the JSP file at the top of the include hierarchy, because I would like call 
the original URL with additional parameters from the included JSP file.

Zsolt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


.

 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: How to figure out the caller of in a Tiles JSP file?

2002-11-08 Thread Trieu, Danny
I don't think this is the right way for you todo.  Here is what I think you
should do.
Have your JSP required a Tiles's parammeter, and from all the page that
include your JSP 
Have them pass a param indicate where they are coming from. Or, determine
all the pages
That need to include your JSP, create different definition for each of them
and the definition
Declare a param that your JSP expected with value that indicate where it is
coming from.


-Original Message-
From: Zsolt Koppany [mailto:zkoppany@;web.de] 
Sent: Friday, November 08, 2002 12:24 AM
To: [EMAIL PROTECTED]
Subject: How to figure out the caller of in a Tiles JSP file?


Hi,

in Tiles JSP files, request.getRequestURI() seems to return the URL of the 
includes Tiles file. How can I figure out the URL of the includor? I means 
the JSP file at the top of the include hierarchy, because I would like call 
the original URL with additional parameters from the included JSP file.

Zsolt

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




How to figure out the caller of in a Tiles JSP file?

2002-11-08 Thread Zsolt Koppany
Hi,

in Tiles JSP files, request.getRequestURI() seems to return the URL of the 
includes Tiles file. How can I figure out the URL of the includor? I means 
the JSP file at the top of the include hierarchy, because I would like call 
the original URL with additional parameters from the included JSP file.

Zsolt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: