This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts AJAX Call using JQuery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts AJAX Call using JQuery" Watch "Struts AJAX Call using JQuery" New topic

Struts AJAX Call using JQuery

arul meh

Joined: Sep 19, 2009
Posts: 27

I have a doubt in Struts making AJAX call. I have a drop down and I want to change the value of second drop down when First drop is changed. I need help in this. I am using JQuery. I am able to make call to Action class execute method - I need help in displaying data back on user form. Could you please help me in this.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63208

It's pretty easy:

Your request just needs to return the list of option elements to inject into the dropdown

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you checked out Aspose?
subject: Struts AJAX Call using JQuery
It's not a secret anymore!