File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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: 60752
    
  65

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