This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 56201
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem..Sending Extra Parameter on Ajax Call
 
Similar Threads
Struts 2: how to set response for ajax function call?
help me.. problem with using android app, jquerymobile and html
Ajax Request Hangs
Session Timeout on Ajax Calls
jQuery Ajax Request