Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieving from iframe?

 
Zoram Paul
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

How can I retrieve data from an iframe?

Please give me some idea.

Thank you
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • 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
  • 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: 42968
73
  • Mark post as helpful
  • send pies
  • 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?
 
Satya Maheshwari
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic