URL pattern for custom components

Lets say my application name is simple_app , whenever i switch to a custom component by setting the window content how can i change the url pattern name:

I have two components main and a login , when the user first visits my application, i want the url to look like this

[/code]  then after logging in, i want the url to look like this [code]

and this should go on for each tab, action and component i set?

is this possible, my web.xml has a /* vaadin pattern that stays at the same url name

Browsers have some limitation on how you can change the URL in a smooth way.
For Vaadin the easiest is to use

There is a discussion of why you need the # in the URL in
this forum post