This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 14687

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
It is sorta covered in the JavaRanch Style Guide.
subject: servlets to frames