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 Struts 1 & JQuery & 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 "Struts 1 & JQuery & Ajax" Watch "Struts 1 & JQuery & Ajax" New topic
Author

Struts 1 & JQuery & Ajax

Fred Artes
Ranch Hand

Joined: Nov 14, 2008
Posts: 43
Please can you give me an example of code using Struts 1 & JQuery & Ajax ?

Without JQUery I have this



Thanks
Karthik Jayachandran
Ranch Hand

Joined: Feb 18, 2009
Posts: 88

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

Joined: Sep 29, 2008
Posts: 12617

There's nothing Struts-specific when using jQuery and Ajax--only the Ajax endpoint will have anything to do with Struts.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1 & JQuery & Ajax
 
Similar Threads
pass <bean:write> to a function
AJAX+STRUTS
Error in using window.XMLHttpRequest
How to change property of form bean from java script using AJAX
Recursive call to a JavaScript method with AJAX call