Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem of AJAX with struts

 
Harish Maridi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am trying to implement AJAX for populating data in secod dropdown menu when I select the item in forst dropdown menu.

I am able to send the request, I observed it by placing alerts in JSP
but I am unable to get the data in Action class and hence the response too.

I am not clear how to give URL of action class in the script function.

Thanks in advance.
 
Harish Maridi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..

Now I am able to get the value from the JSP, and I am also generating data by using that value.

But I am not able to send back the data to JSP from my action class. Is there any specific way to do that.. Please let me know.

Thanks In advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic