This can happen if RequestDispatcher.forward was called at some point
before your call to Request.getRequestURL. I worked around the issue on
one of my projects by implementing a filter that stored the original
request URL as a request attribute.
--David
Sridhar wrote:
Hi
I am on windows platform and facing problem using Request.getRequestURL,
This is displaying always my main file physical path instead of the
current URL.
This is anything to do with the Virtual mapping?
How can I solve the problem?
Thanks in advance
Sri.
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------