I want to support linking with url request parameters in my GWT app. Example
http://host/app?action=A&p1=v1&p2=v2
I am able to process the action=A & other params, but once I am done with that, I want to change the URL to remove them.
The problem is that once the user comes to the webpage, for completing the "action" with parameters p1 & p2, he may browse the site, and come back to the same page for the same "action" but with different value for parameters p1, p2. The second time around though, I dont really want to process the old values for p1 & p2.
I checked Window.Location.replace() but it reloads the page, and all application state is lost.
Is there a way to do this without reloading the page entirely without the params? Perhaps by "removing" the query params?
Any other more sensible way to achieve this?