• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Retrieving from iframe?

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

How can I retrieve data from an iframe?

Please give me some idea.

Thank you
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSP is a server-side technology, while iframes exist in HTML (and thus on the client), so I'm not sure what you're trying to do. Can you describe it to us in more detail?
 
Zoram Paul
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Sir,

Let me explain in details:

Actually my First.jsp has the iframe in it which is showing the page (http://industryleadernetwork.com/index.jsp). And there is a submit button in the First.jsp which takes me to the Second.jsp.

In the Second.jsp I want to show the data that has been extracted from the iframe in the First.jsp.

Can you help me Sir?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is "the data that has been extracted from the iframe"? The iframe contains an HTML page - what do you want to extract from that?
 
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Actually I am a bit confused by your page setup. I think iframe is a HTML specific feature where you can create an inline frame based on another document. This inner document may have an entirely independent communication with the web server. Only thing is that it has been nested inside another page.

In your case if you want to pass some value from the inner frame to the enclosing page, I would think a better approach is to have them as 2 separate pages, though I am curious to know if the value can somehow be passed to the enclosing page.

Cheers
 
reply
    Bookmark Topic Watch Topic
  • New Topic