File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes problem in opening new window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "problem in opening new window" Watch "problem in opening new window" New topic

problem in opening new window

payal Jain
Ranch Hand

Joined: Dec 20, 2007
Posts: 50
Hi all,
I have an herf tag to open new window
herf="'')" but it takes the context path as
/test/project/ and says requested source not found at location
/test/project.I am using Tomcat as server.

How to make it directly open the path
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

If you want it to open, then that's what you need to specify. Shortcuts will be interpreted as relative to the page or context.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: problem in opening new window
It's not a secret anymore!