This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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:
subject: servlets to frames
It's not a secret anymore!