But Magnolia does. Specifically I've found it in the EntryServlet for 2.1.5. As I've said, the best solution I found was to use a filter to catch the request early (the first filter invoked) and store the request URL as a request attribute,
--David > David > > Thanks for your quick reply. I'm not using RequestDispatcher.forward at > all. > Same files are working on our online server but not on my local machine. > I couldn't solve this problem. Any suggestions? > > Thanks > Sri > > > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Montag, 24. Juli 2006 19:38 > To: [email protected] > Subject: Re: [magnolia-user] URL > > 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 > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- > ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
