aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Ajax using jQuery returns data from Action Class method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ajax using jQuery returns data from Action Class method" Watch "Ajax using jQuery returns data from Action Class method" New topic
Author

Ajax using jQuery returns data from Action Class method

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 644
When I did coding for an example of calling AJAX from JSP using Javascript it was returning data from a servlet. However on calling AJAX using Jquery can return data from Action class method too? Why so?

thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61432
    
  67

Ajax could care less what's on the server to respond to a request. It doesn't even have to be Java.

Ajax issues an HTTP request, and the server returns a response. What returns the response is completely irrelevant.

Did you think that Ajax only worked with Java and with servlets?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 644
I got it now.Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax using jQuery returns data from Action Class method