This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts 1 & JQuery & Ajax  RSS feed

 
Fred Artes
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please can you give me an example of code using Struts 1 & JQuery & Ajax ?

Without JQUery I have this



Thanks
 
Karthik Jayachandran
Ranch Hand
Posts: 93
Java Python Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Working with jQuery is so damn easy, you don't need this much code.

here's a small sample for your code,



The resulting data will be handled by method called 'showAgency()'.



these might work.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's nothing Struts-specific when using jQuery and Ajax--only the Ajax endpoint will have anything to do with Struts.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!