I wouldn't rely on the browser to fix your URLs for you. This will work in some browsers and not others. Using an absolute URL (with the http://prefix) is always best when you want to go to 3rd party sites (or you'll see the issue like you're seeing).
Matt On Wed, Sep 2, 2009 at 1:33 AM, Anil Rawat <anil.rawa...@gmail.com> wrote: > earlier i havent used it but on using http://www.yahoo.com it is working > fine thanks, > but when we write www.yahoo.com the browser itself adds http:// as a > prefix so when calling from popup it should do the same thing > On Wed, Sep 2, 2009 at 12:49 PM, Weerawit Maneepongsawat < > weera...@gmail.com> wrote: > >> have you tried "http://www.yahoo.com" yet? >> >> I think this is a relative path. >> >> Br >> Weerawit >> >> >> On Wed, Sep 2, 2009 at 2:11 PM, Anil Rawat <anil.rawa...@gmail.com>wrote: >> >>> hi guys, >>> >>> i am using appfuse 1.9.3 with spring >>> >>> i have a link in my jsp page as given below <tr> >>> >>> <td colspan="3" > >>> >>> <a href="#" >>> onclick="Popup=window.open('www.yahoo.com','Popup','toolbar=yes,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=420,height=400,left=430,top=23'); >>> return false;"> >>> >>> Test Window >>> </a> >>> >>> </td> >>> >>> </tr> >>> >>> >>> >>> on clicking the link it is opening a popup window but the url is not >>> www.yahoo.com but it s showing >>> http://localhost:8080/mywebppname/www.yahoo.com. >>> >>> as i only want the url which i set in the link to be opened in my popup >>> window. >>> >>> regards, >>> >>> anil >>> >> >> >> >> -- >> Weerawit (Ty) >> > >