File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Problem with HTML frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem with HTML frames" Watch "Problem with HTML frames" New topic

Problem with HTML frames

Nasir Mkhan

Joined: May 13, 2001
Posts: 28
Hello to all.My problem is that i am using four frames means four html files in one html file.On the right frame,i am using <form> with two textboxes for id and password for sending to jsp file.I want three action on the click of submit button
1.Values of textboxes should be send to jsp file.
2.In response, the html file in right frame should be change to another html file.
3.The html file in left frame should be change to another file.
I tried my best but only two out of three actions is to be happen i.e the data send and html change in that frame from which the data is send or html files change with other html files but the data does not send.
Plz give me the solution how to do it.

[This message has been edited by Abdul Nasir (edited August 03, 2001).]
Dmitriy Pavlyuk
Ranch Hand

Joined: Mar 25, 2001
Posts: 33
I suppose this problem may be solute using javascript.
In frame which you send you load page with script which change location in other frame. Its may hope you.
But in my pratice i try to don't use frames with dinamical sites.
Steve Snodgrass

Joined: Jun 12, 2001
Posts: 27
Not sure the answer to your question but I find whenever I have questions of this nature that a solution can be found at They have an excellent series of FAQs on Javascript,HTML,frames,etc. An excellent resource I can not recommend highly enough.
I agree. Here's the link:
subject: Problem with HTML frames
It's not a secret anymore!