*
The moose likes HTML, CSS and JavaScript and the fly likes call json data in Jquery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "call json data in Jquery " Watch "call json data in Jquery " New topic
Author

call json data in Jquery

David Mbura
Ranch Hand

Joined: Apr 06, 2010
Posts: 65
Hello guys!
I want to mock the data in json local files which later will be replaced Restful webservice.But i dont know how to set them up.I am using jquery in aptana studio,also i am familliar with mockjax(as mocking framework).Where do i place the json file in aptana studio?In other words all i know is to call $.ajax() but i dont know where to place the json file?Thank you
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

Hmm, unless someone else here happens to be using Aptana, you might be better off hitting their support forums.

Or if you'd like, I could move this to our IDEs forum?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Mbura
Ranch Hand

Joined: Apr 06, 2010
Posts: 65
thank you Bear..i have already found solution from another forum..I am building my first web app,and it is kind of complex...so you will be hearing from me more often but thank you alot ,i appreciate it.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

That's what we're here for!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: call json data in Jquery
 
Similar Threads
Struts2-json plugin not serializing action class to json
ajax call in jquery
HTML IDE
struts2 (2.1.8.1) json result type problems
Best practise to load javascript settings from server