I'm trying to write an jsp application using apache tomcat server. I need a button's onclick to redirect to google. When I give -
onclick="window.open('www.google.com');"
It opens a new window with
http://localhost:8080/LiveSearch/www.google.com
How do I make it open a window with just 'www.google.com' as url?