I have a GWT application which, when deploying the local home page after the application starts, is localhost: 8888 / myapp.html, but when we deploy it on the server, after starting the application on the main page 107.20.239.198:8080/myapp/myapp.html.
Now all the related paths to which my application fails. Places where I need the exact path, I cannot understand it. As now, the path is different. For example, when I click on a specific widget in my application → It redirects to the path "/ # +" place number 1 "+" place number 2 "
But now it does not work when deploying to the server, since now it needs the path → '/ myapp / # + "place no.1" + "place no.2"'.
So how can I make it general so that I can handle both conditions.
Can anyone help me with this?
PS I hope that I can express my problem well, otherwise you can comment on it so that I can better explain it.
source share