Link to go back to the root of webapp in jsp

I have been thinking about the code to simply go back to the root of the webapp.

For example: URL/myapp

The solution is really easy:

<a href=”.”>Return To Home Page</a>

Advertisements