Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

how to load one frame on completion of another

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a html file that does the work of loading two different webpages in 2 frames simultaneously.
now my problem is when this html gets called as a result of some action mentioned in struts.xml... it loads one frame and timesout another frame... there by getting error in other frame.

i want that one frame should load and on its compeltion this frame should load....

how to accomplish this..???

please help...
this is my code of html:

i want frame named report to load first then frame named grid..!!!

kindly help...
 
Sheriff
Posts: 6642
1263
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not related to JSP, moving
 
Devaka Cooray
Sheriff
Posts: 6642
1263
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of specifying the frame source for the 'src' attribute, you may use JavaScript to load each frame separately.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,

As you have mentioned struts.xml, i assume that you are using struts 1. Struts 1 supports Tiles. Tiles is the best solution to this problem.

Like smoking is injurious to health, Frames are bad for web applications.

Cheers,
Loganathan
 
A lot of people cry when they cut onions. The trick is not to form an emotional bond. This tiny ad told me:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic