I'm having the following problem, I'm developing a web application in java and would like to know how do I change the URL of a page when I click on a link in the menu. For example:
Access a website www.example.com.br this is the main link and there is another contact link, when I click on it, I would like to have www.example.com.br/contact. Also, I wanted to be able to copy this URL and open it in a different browser and go straight to the contact.
An example of this is Gmail, when we click to read an email the url changes and if we make a copy past in another browser it goes straight to the email.
Is it possible to do this as ajax? If not, which would be the best option?