This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cross domain by JSON

 
kien kun
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have made a RESTFul Webservice by Netbean.
I want to use a simple file HTML that call to webservice.
I have found a few way are json,jquery,ajax.. but all of its are not success.
Please to guide ,how to make a web service and how to cross domain?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use jQuery and enable JSONP on your Ajax requests -- this assumes that the web service is JSONP-enabled. If not, you'll need a server-side proxy.
 
kien kun
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I used but not success
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic