aspose file tools*
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
Author

Problem with HTML frames

Nasir Mkhan
Greenhorn

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
Greenhorn

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 www.irt.org. They have an excellent series of FAQs on Javascript,HTML,frames,etc. An excellent resource I can not recommend highly enough.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem with HTML frames