tags:

views:

577

answers:

2

Is there a better ajax framework than DOJO for web apps using struts?

+1  A: 

DOJO is purely client-side framework, so which MVC framework you use on the server isn't relevent, they have no interaction with each other.

If AJAX is all you need, though, I suggest using jQuery instead of DOJO, it's smaller, simpler and less buggy.

skaffman
A: 

Agreed. jQuery doesn't specialise in Ajax like, say, Prototype and Dojo do, but it will more than suffice for most Ajax tasks. Take a look at the documentation. You can control how the request is sent, what format the returned data should be in, what should happen to it when it's returned, what to do if an error's returned, etc etc.

mitya