Server side redirect

0
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?  
asked
1 answers
0

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);			
response.setStatus(IMxRuntimeResponse.SEE_OTHER);

Edit 1:

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

answered