KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using the JQuery $.ajax post command to invoke an ajax event on my web server: var formParams = "fe1=y&fe2=m&fe3=m"; $.ajax({ type: 'POST', url: '/foo.jsp', async: false, data: formParams, complete: function(xmlRequestObject, successString){ ymmReceiveAjaxResponse(xmlRequestObject, successString); } }); The ajax component successfully calls the web page, but it does not include any of the post data. ie - "(HttpServletRequest) request.getParameterMap.size() == 0" - I'd expect 3, but am getting zero. Changing the above command from POST to a GET makes everything work just fine. TIA
Tags (comma-separated)
Save Edits
Cancel