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
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: 541
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: 60059
    
  65

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: 541
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
 
Similar Threads
How to use post method with ajax
How to get session values in struts2
Struts / Ajax question
Need a Solution for struts
Struts 2 Radio Button Selected value