aspose file tools*
The moose likes JSP and the fly likes Retrieving from iframe? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Retrieving from iframe?" Watch "Retrieving from iframe?" New topic
Author

Retrieving from iframe?

Zoram Paul
Ranch Hand

Joined: Jul 10, 2007
Posts: 59
Hello,

How can I retrieve data from an iframe?

Please give me some idea.

Thank you


ZORAM<br />"If it's true that we are here to help others,<br />then what exactly are the others here for?"
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42278
    
  64
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?


Ping & DNS - my free Android networking tools app
Zoram Paul
Ranch Hand

Joined: Jul 10, 2007
Posts: 59
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
Marshal

Joined: Mar 22, 2005
Posts: 42278
    
  64
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

Joined: Jan 01, 2007
Posts: 368
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


Thanks and Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retrieving from iframe?