File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Ajax within Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

Ajax within Ajax

Vinitra Ramji
Greenhorn

Joined: Jul 19, 2011
Posts: 10

I have a JSP page which uses ajax to call a servlet which in turn displays a form. Now whenever any changes are made to the data in this form (that was displayed using ajax), I have to save the changes in a particular file, again using ajax. Will this work?
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
Hi Vinitra,

yes you can do this.


Thanks,
Shailesh
Vinitra Ramji
Greenhorn

Joined: Jul 19, 2011
Posts: 10

Shailesh Narkhede wrote:Hi Vinitra,

yes you can do this.


Yeah, finally figured it! it was some silly mistake in the javascript that dint allow the onchange event to fire! Silly me =P
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Ajax within Ajax
 
Similar Threads
Migrating Application - From Struts with AJAX to JSF with AJAX
jsp form posting to itself (sending an email)
Binary Data using AJAX
serialization
Ajaxstart/Ajaxstop Global Handler Form Reference