File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts with Ajax

 
riyas nedumpurath
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an Action class which populates an HTML select on my JSP page from MySQL Database. I want to use AJAX to display the properties of selected product (another table in MySQL) each time select change. Someone have an idea??
Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a pretty open-ended question. Unless you're using Struts 2 the answer doesn't really have anything to do with Struts, though--which version of Struts are you using? What JavaScript library/libraries are you using?
 
riyas nedumpurath
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Struts 1. As for Javascript I dont use any specific libraries, plain Javascript with XMLHttpRequest.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ew; these days I don't see any reason to use plain JavaScript.

In any case, there's nothing special about using Ajax with Struts 1.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic