Browse DevX
Sign up for e-mail newsletters from DevX


iFrames + JSP = Enhanced Web Content Retrieval : Page 4

Used with JavaScript and JSP code, iFrames elegantly resolve the "hang" issue that occurs when a Web application fetches values from the server.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

iFrames in the Real World
Because currently used browsers support iFrames, you can use them directly without any added configuration or setup effort. The example application demonstrated how with minimal development effort iFrames can make fetching data from the server transparent to the user, thus relieving users from having to wait while the application fetches the data.

Such a technique can be of great help with more complicated scenarios as well. In fact, I see many uses for iFrames in real world applications, including as an alternative for Applets in some cases. For example, the traditional ticker example built with applets can be easily done with iFrames embedding a JSP page.

Tareq Shaheen is an architect and senior consultant with Ejada, an IT solutions and services company.
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date