| Reconstructs the URL the client used to make the request,
using information in the HttpServletRequest object.
The returned URL contains a protocol, server name, port
number, and server path, and include query
string parameters.
This method is useful for creating redirect messages
and for reporting errors.
Parameters: req - a HttpServletRequest objectcontaining the client's request a String object containingthe reconstructed URL |