I will put multiple related questions here I hope there is no problem with that.
I have JBoss
server on my pc and I want to do the following:
when user clicks a link like ( www.abc.com/login ) I want to redirect him to ( www.abc.com/jsp/login.jsp) without showing the new URL.
The purpose of this is to hide folders and file extensions from users so they don't starting testing and messing with stuff.
So my questions about that are:
1) How to do it while keeping the (www.abc.com/login) on the user browser?
2) How to hide some of the url? like if the url is www.abc.com/jsp/login.jsp, how to hide the (.jsp) or changing the file/folder arrangement to show less information to users?
3) If I think in a wrong way and/or there is a better/easier way to do it then please advice me.
I found some related stuff like this but I didn't understand it because I have no knowledge in jboss and also a bit weak in english.
Thank you all, and sorry for the confusion.