If you put
at the top of your page, it will attempt to go forward a page in your history. If you go to another page, and then try to click back and go to this page, you will be bounced forward.
As an aside, if you do this, people will hate you. True story.
You probably want to use a
servlet Filter to make the user go to the right page after authentication. Or use
Acegi and let it do the hard work for you.