jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes servlets to frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "servlets to frames" Watch "servlets to frames" New topic

servlets to frames

Jason Kwok
Ranch Hand

Joined: Mar 31, 2005
Posts: 126

This is a really simple question I'm sure, but I have a page using frames. There is a top horizontal frame, left side vertical frame, and main target frame.

My question is, I've placed a search function in the top frame that calls a servlet to search through my database. Now the problem is that I don't want the top frame to display the results. Is it possible to send the results to the target frame through a servlet?

Here is my frame code, if it helps at all.

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Yes, it is possible by setting the TARGET in topFrame.jsp.

Please do not crosspost, you could have continued here :

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link: http://aspose.com/file-tools
subject: servlets to frames
It's not a secret anymore!