aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes possible to intercept an Ajax response 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 "possible to intercept an Ajax response" Watch "possible to intercept an Ajax response" New topic
Author

possible to intercept an Ajax response

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Hi,
Is it possible to intercept an AJAX response using a Java Filter or anything else?

Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

An HTTP request made via Ajax is just another request like any other. So, yes, from the server point of view, there is no difference from any other request and a servlet filter can be used.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: possible to intercept an Ajax response