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 Problem..Sending Extra Parameter on Ajax Call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem..Sending Extra Parameter on Ajax Call" Watch "Problem..Sending Extra Parameter on Ajax Call" New topic
Author

Problem..Sending Extra Parameter on Ajax Call

Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Hi All,

Good Day!
I wanted to add an extra parameter in all my ajax call. I saw the method, $.ajaxSetup but cant seem to make it work.
I basically have this, what I want is to send additional data on all subsequent ajax call


I have my spring controller like below. Its an interceptor that distinguishes Ajax and Non-Ajax Call.


I am not sure, but why is that, it is not sending the extra parameter. Anything wrong in my understanding?

Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

The default values will only be used in the absence of another value, not merged into it.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem..Sending Extra Parameter on Ajax Call