Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in opening new window

 
payal Jain
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have an herf tag to open new window
herf="window.open('www.yahoo.com')" but it takes the context path as
/test/project/www.yahoo.com. and says requested source not found at location
/test/project.I am using Tomcat as server.

How to make it directly open the path www.yahoo.com.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want it to open http://www.yahoo.com, then that's what you need to specify. Shortcuts will be interpreted as relative to the page or context.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic