This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 144
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.
 
jQuery in Action, 2nd edition
 
subject: how to get values from struts to javascript using Ajax
 
Similar Threads
jsp and ajax
STRUTS:getting count from database when a value in select box is changed
How to solve this
iterate doubt
jsp and ajax