• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Pulling content from remote server

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys I am trying to figure out a way to deliver a content to clients sites by providing them with a piece of code, javascript probably and having it pull information remotly from my server. I know that best solution from this probably would be SOAP or RSS but in this case, clients are not very savy and they accounts are with basic hosting companies where they have no control of whats installed on the server or are not able to manipulate server side scripts. I know there were, maybe still are, companies that used to do that but not sure how. Any ideas how to do it with client side only?

Thanks,
Fedor
 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it can be done client side, the catch being the client has to be using MSIE.

There's a component called Microsoft.XMLHTTP which is able to make HTTP requests and you can invoke this from JavaScript, pull content from a remote server and populate a page element (div, span or similar).

Read up on XMLHTTP component here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/xmobjxmlhttprequest.asp
 
Fedor Smirnoff
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It got to be cross browser
I heard some things about MAYSCRIPT java applet capability, looking into it now, but wondering if there is anything better for that.

Thanks,
Fedor
 
That new kid is a freak. Show him this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!