Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: window.open(new URL)


Message #1 by bprem kumar <premk_1977@y...> on Wed, 24 Oct 2001 09:03:40 -0700 (PDT)
That is by design.. You have to put the http in there. The base url is
http://prem:8000/jsp so unless you have a file called www.google.com
that redirects to http://www.google.com you are going to have to put the
http in there.. Afaik No other way arround it.. 

daniel

--------------------------
Daniel O'Dorisio
daniel@o...
www.odorisio-networks.com
--------------------------

-----Original Message-----
From: bprem kumar [mailto:premk_1977@y...] 
Sent: Wednesday, October 24, 2001 12:04 PM
To: javascript
Subject: [javascript] Re: window.open(new URL)


Hello everyone,

I would like to open a new window with the URL 
specified in it.
At present its taking the virtual path appended to the
URL.
for ex: when i try to open www.google.com its
appending the virtual path to it and displaying page
not found.(http:\\prem:8000\jsp\www.google.com)

only if we give http before that url, its displying
properly. else its taking the virtual path + the URL.
could anyone help on this issue.

Thanks in advance
Prem


  Return to Index