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 Java 8 in Action this week in the Java 8 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

possible to intercept an Ajax response

Luke Murphy
Ranch Hand

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

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60072

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:
subject: possible to intercept an Ajax response
Similar Threads
How to Download a File
Ajax instead of refreshing page
Export to xls file - Download file using AJAX
How to capture a respnse object
Share data between jsp and servlet without using request or session