Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Ajax
|
Ajax the combination of XHTML, CSS, DOM, XML, XSLT, XMLHttpRequest, and JavaScript
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 21st, 2006, 01:09 AM
Registered User
 
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Posting a page from AJAX Tab Control dhurjati_sen C# 2 August 20th, 2007 11:05 PM
posting form data as XML string problem Cragdo XML 0 July 16th, 2007 10:03 AM
Textarea form posting Apocolypse2005 HTML Code Clinic 2 April 20th, 2007 03:59 PM
Problem with Posting an ASP .Net web form eliea ASP.NET 1.0 and 1.1 Basics 4 September 11th, 2006 02:59 AM
problem in posting info frm child form to parent aravwind General .NET 2 July 28th, 2004 06:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.