jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes Servlets, JSPs & iFrames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Servlets, JSPs & iFrames" Watch "Servlets, JSPs & iFrames" New topic

Servlets, JSPs & iFrames

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
Hi guys, not sure if this should be posted under here, or Java Int or JSPs so I'll try all and see what comes back...

Basically I have an 'advanced' search option on my system which returns the results in a page with two iFrames in it. One will have a list of file types and the other the actual results.

The problem I am having is, I need to some how parse values directly into the first iFrame as the results page is loaded.

So you click on search -> loads results.jsp (which has 2 iFrames in it)

iFrame 1 (file types) immediately lists all available file types (gets this from the Servlet).

click on a file type and iFrame 2 displays the results.

hope you understand.

Basically, how can i parse values directly into the iFrame's page from theServlet and vice vera?
[ May 26, 2006: Message edited by: Bear Bibeault ]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Why don't you look into an Ajax double combo type of application?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

Why do you need the iframes to being with? You haven't really explained what it is you are trying to accomplish, but it sounds as if you may be over-complicating things.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Servlets, JSPs & iFrames
It's not a secret anymore!