Re: how to get the original requestURI after jsp:forward()

2005-07-25 Thread Martin Bromley
I've needed to do this in the past: I created a filter that set the set the requestURI in an attribute in the request. There may be a better way. Martin Marten Lehmann wrote: Hello, I have a forward to a jsp-file. This jsp-file needs to know which URI was requested in the initial request.

AW: how to get the original requestURI after jsp:forward()

2005-07-25 Thread Schwarz
Hello, I have a forward to a jsp-file. This jsp-file needs to know which URI was requested in the initial request. Currently, I can only see the requestURI of the forwarded jsp-file. Any ideas? set a session bean with the original uri.

RE: how to get the original requestURI after jsp:forward()

2005-07-25 Thread Caldarale, Charles R
From: Schwarz [mailto:[EMAIL PROTECTED] Subject: AW: how to get the original requestURI after jsp:forward() set a session bean with the original uri. I don't think you want to put a request-specific data item into the session - if there's more than one request being processed simultaneously

how to get the original requestURI after jsp:forward()

2005-07-24 Thread Marten Lehmann
Hello, I have a forward to a jsp-file. This jsp-file needs to know which URI was requested in the initial request. Currently, I can only see the requestURI of the forwarded jsp-file. Any ideas? Regards Marten - To

Re: how to get the original requestURI after jsp:forward()

2005-07-24 Thread Mark Thomas
You need to read SRV.8.4 of the servlet specification. Mark Marten Lehmann wrote: Hello, I have a forward to a jsp-file. This jsp-file needs to know which URI was requested in the initial request. Currently, I can only see the requestURI of the forwarded jsp-file. Any ideas? Regards

Re: how to get the original requestURI after jsp:forward()

2005-07-24 Thread Marten Lehmann
Hi, You need to read SRV.8.4 of the servlet specification. I read it now. However, it's stated there, that path-related-values should be overwritten by the container in all request-dispatcher occurences. This means: include and forward. But for an include, I can see the original