Server side redirect

I made a RequestHandler that redirects to a page in Mendix that has a URL property: <host>/#/page/{id} I would like that the original URL of my RequestHandler is being saved in the browser, currently the redirect is being shown. Can I make a server side redirect in Mendix? Like changing the path on my IMxRuntimeRequest and calling the Connector.processRequest(). Something like RequestDispatcher.forward(request, response) in Java EE?  
1 answers

No you can't,  you can do a redirect in a requesthandler, take a look at the SSO or deeplink modules from the appstore.


//finally, redirect
response.addHeader("location", getRelPath(request) + location);			

Edit 1:

You can find the jetty request by getHttpServletRequest()..  You can give it a try