...

View Full Version : open in existing child window?



ShawnK
07-03-2007, 05:11 PM
I'm trying to set up html links in a parent window that update content in the same child window(rather than opening successive new windows with each click).

Having the same target name in the anchor tag looks to be the easiest way to do this but it's not working in conjunction with a servlet mapping.

This works:


<a href="test.html" TARGET="targetWindow">Click Here</a><BR>




This doesn't work. This link will open a new window every time it's clicked


<a href="someURLmapping" TARGET="targetWindow">Click Here</a><BR>




What is it about the servlet URL mapping that causes the links to not return to the child window? Is there another way to solve this issue? Perhaps something with Javascript?

Thanks!
Shawn

ShawnK
07-05-2007, 09:55 PM
Nevermind...the child window's JSP had some javascript in it that changed its name.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum