I am unable to transfer form data to my model object if I invoke my action using ajax (XMLHttpRequest object). Isnt this possible? Any help/comment is much appreciated.
Its almost impossible to guess the problem with that much information. Did you pass the request parameters properly in the AJAX request?? Can you show us the JavaScript code and Struts code...
The AJAX request is a POST request but you are not sending anything in the body of the request. You can send request parameters in the send method in your javascript code...
I guess i just have to pass the form parameters in ajax. I thought all along struts will automatically handle the form parameters, just like in the "normal" form submit. Thanks for your help.