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.
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.
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
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
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
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