Frames and where HTML/JSP's open

I've written a little 'intelligent agent' to parse web pages viewed by a user and extract keywords for improved searching. The set up is a two row frame in the browser, with my application's features running in the top row and the user's prefered search engine running under this. For reasons of capturing user searchtearms initally, I've written it so they actully enter searchterms in JSP's ive written, this then uses a JavaBEan to construct a HTTP string and use it to connect to (for example) altavista. The initial 'target' ensures the altavista results appearin the bottom row of the frameset but then when you click a link from the altavista results set a new window is opened, something I don't want, cos then my application is hidden.,

How (can I?) constrain HTML links in the bottom row of frameset to only open in that row?

[865 byte] By [CMooney] at [2007-9-26 5:02:29]
# 1
I'm no frames expert, but I think you can specify the target frame for the links in the bottom frame. So, you'd want to set the target to the name of the frame that you want the link displayed in. Think this is done in the frame page.
beattris at 2007-6-29 18:59:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Um, no that wont work - cos there's no way of specifiying what the target is for links generated by Altavista itself, in a web searchresults page. In the top row of frameset I can initially specify that when the user clicks 'search' the altavista results set is diplayed in the bottom row, but then my problem is when a user clicks a 'result' - because of course I can't specify in the altvista page that comes in where to open its html links!

CMooney at 2007-6-29 18:59:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...