How to call a servlet when click on browser window