AJAX form posting problem.
Hi folks,
I am bit new to Ajax. I want to use xmlhttprequest object in struts application to submit a form & get back the updated response in the same jsp page without reloading the page.
The problem i am facing is, I can't use struts syntax for defining form & its elements on the jsp page if I want to use XmlhttpRequest object.
I want to know that is there any way around to submit an entire html form by using struts syntax(as I am defining form bean & don't want to change the server side code) & still be able to use XmlHttpRequest object, so that I get response generated at server in the background & then update the jsp page accrodingly?
Kindly let me know the same can be done in Ajax, without using any AJAX toolkit or without the usage of querystring to append the form data to the url requested?
Regards.
|