IFrame in JSP

I have a question regaring an iframe inside a jsp.i have a link which is in an iframe. when a user selects this link in the iframe, how can i do a location/replace on the main frame and not just the iframe?Thanks for your help.
[248 byte] By [jwakabayashia] at [2007-11-26 15:52:02]
# 1
Set the "target" of the link to be _parent<a href="myPage.jsp" target="_parent">Click me</a>
evnafetsa at 2007-7-8 22:12:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks... I tried that but before but it didn't work?[code]<a href="<%=link%>=<%=partnumber%>" target="_parent"><%=labels.getString("buy")%></a>[\code]It still opens a new window. :(
jwakabayashia at 2007-7-8 22:12:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
It opens a new window? You didn't mention that.Couple of questions- What browser are you using? Version?- You are using standard browser window (no modal dialog?)
evnafetsa at 2007-7-8 22:12:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
I"m using IE7 as the browser.And yes to your second question.
jwakabayashia at 2007-7-8 22:12:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...