In my java ee project I mapped welcome page as
<welcome-file-list>
<welcome-file>Login.jsp</welcome-file>
</welcome-file-list>
After login correctly I go to index.jsp
. Which is my home. What I need is hide index.jsp
in url. Only localhost://EMS
.
Usually it doesn't show index.jsp
in url. But sometimes I press back arrow key eventually I go to http://localhost:8080/EMS/index.jsp
Is there any way to hide that? I'm not using any java related frameworks at the moment. Also I use apache tomcat.