I have a welcome page defined as follows in web.xml
<welcome-file-list>
<welcome-file>templates/Template.jsf</welcome-file>
</welcome-file-list>
and the context root for the project is TestProject. for the first time when i load the project the url is localhost:8080/TestProject. I have a button in the home page named "HOME" on click of which should redirect to home page from any other page. Now the problem is on click of this button, it redirects but the url becomes localhost:8080/TestProject/templates/Template.jsf. how to clocak this?
the html code for button is as follws
Home