jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes Switching the underlaying Ajax framework in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Switching the underlaying Ajax framework in Struts2" Watch "Switching the underlaying Ajax framework in Struts2" New topic
Author

Switching the underlaying Ajax framework in Struts2

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi.
WebWork2 employs Dojo toolkit as the underlaying Ajax framework.
What about Struts2? does it use Dojo too?
Is it possible to switch to another Ajax toolkit (jQuery for example)?
Thanks.
Don Brown
author
Greenhorn

Joined: Apr 22, 2008
Posts: 25
Yes, Struts 2 provides AJAX tags that use Dojo under the covers. However, there is nothing stopping you from using any other Javascript framework - just don't use the Struts 2 AJAX tags. In fact, Struts 2 users have developed plugins to provide extra integration with other Javascript libraries such as the YUI plugin: http://cwiki.apache.org/S2PLUGINS/yui-plugin.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Switching the underlaying Ajax framework in Struts2
 
Similar Threads
AJAX with Struts
How to "enable/disable" radio button in struts2 on click of check box
install ajax toolkit framework in RAD7 fr
why to use struts2.x
Spring and DOJO