Ajax - Third party web content

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Sep 2009
Posts: 1
Reputation: Weesh is an unknown quantity at this point 
Solved Threads: 0
Weesh Weesh is offline Offline
Newbie Poster

Ajax - Third party web content

 
0
  #1
Sep 2nd, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 319
Reputation: Luckychap is on a distinguished road 
Solved Threads: 42
Luckychap's Avatar
Luckychap Luckychap is offline Offline
Posting Whiz

Re: Ajax - Third party web content

 
0
  #2
Sep 2nd, 2009
There is no mechanism for bring content out of local domain with Ajax.
When you think you have done a lot, then be ready for YOUR downfall.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 178
Reputation: codejoust is an unknown quantity at this point 
Solved Threads: 18
codejoust's Avatar
codejoust codejoust is offline Offline
Junior Poster

Re: Ajax - Third party web content

 
0
  #3
Sep 6th, 2009
You could consider using a screen-scraper, or cURL, or a proxy to get around the javascript CrossDomain ajax security policy.
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC