954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Ajax - Third party web content

hi,

I am currently using an IFrame (in my jsp) to bring up a third party web content(ex.a payment page from www.hsbc.com) . i want the external site to handle all the user actions (within the iframe).

In this case I am unable to capture the errors or exception that the external website throws.

Is there a way to bring up third party web content using Ajax with better error handling mechanism ?

FYI : webservices not available

Regards
Wee

Weesh
Newbie Poster
1 post since Sep 2009
Reputation Points: 10
Solved Threads: 0
 

There is no mechanism for bring content out of local domain with Ajax.

Luckychap
Posting Pro in Training
444 posts since Aug 2006
Reputation Points: 83
Solved Threads: 61
 

You could consider using a screen-scraper, or cURL, or a proxy to get around the javascript CrossDomain ajax security policy.

codejoust
Junior Poster
180 posts since Jul 2009
Reputation Points: 18
Solved Threads: 21
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You