// so the system mapper can interpret it
String urlWoJSessionId = Strings.stripJSessionId(url);
Url resolved = new Url(getRequest().getUrl());
resolved.resolveRelative(Url.parse(urlWoJSessionId));
IRequestMapper mapper = getApplication().getRootRequestMapper();
Request request = getRequest().cloneWithUrl(resolved);
IRequestHandler handler = mapper.mapRequest(request);
if (handler != null)
{
getRequestCycle().scheduleRequestHandlerAfterCurrent(handler);
}