aspose 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
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
 
Don't get me started about those stupid light bulbs.
 
subject: Ajax within Ajax