This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
A Relative URL omits components. However, since an Absolute URL is required to make an actual HTTP request, the client will supply the missing information in order to build an Absolute URL from the relative URL. Relative URLs are relative to the URL of the requesting page, so if you place a URL link in the form 'href="www.google.com"' on the page you served from "http://www.mywebserver.com/faces/page1.jsp", the client (browser) would build the absolute URL of "http://www.myserver.com/faces/www.google.com".
Which is why your request didn't work.
An IDE is no substitute for an Intelligent Developer.