Routing to new url in same browser same tab

Hi,

I have 2 projects. One in JMIX and One in Spring.

I want to redirect user from the JMIX project to spring project on click of a button.

I don’t want to open new tab or browser. It should be in the same tab.

I have redirected using webBrowserTools. But there are 2 problems with it.
First, it opens in a new tab.
Second, it sends the data using GET method. I want to send the data using POST method.

is it possible ?

Thanks in advance.

Hello!

Did you try to pass parameters like target _self? It will enable opening resource in the same browser tab.

webBrowserTools.showWebPage("https://docs.jmix.io/jmix/intro.html",
                ParamsMap.of("target", "_self"));

As far as I know there is no ability to change type of request.