This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes how to get values from struts to javascript using Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to get values from struts to javascript using Ajax" Watch "how to get values from struts to javascript using Ajax" New topic
Author

how to get values from struts to javascript using Ajax

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 146
hi


I am getting values from database using struts how to get that values using Ajax and how to show the values in text box can You help and can you tell me link to study Ajax




Thanking You
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

This isn't really Struts-specific; as long as you return the values in a way the Ajax callback understands the back-end doesn't matter. So you could return XML, JSON, HTML, whatever.
 
GeeCON Prague 2014
 
subject: how to get values from struts to javascript using Ajax