Ajax is a simple concept & way to code for a problem. It is nothing to do with frameworks. I believe, you were trying to ask if there is any available feature in Struts 2 framework for handling AJAX related operation. I am not familiar with any.
Joined: Feb 06, 2008
I read that the Struts 2 uses DOJO toolkit to add AJAX capabilities to JSP. Is it right? I'm acquainted with JQuery and I would like to use it instead of DOJO if possible. Thanks.
Best regards, Felix Use www.jaaava.com - A Google CSE for Java !!!
In Struts 2, there's a concept called "themes". Themes determine the appearance and behaviour of controls (rendered by Struts 2, through struts tag library). There are three standard themes in Struts 2, namely simple, xhtml and ajax.
To enable Ajax based posting of forms , all that is necessary is to use the "ajax" theme. For example:
It internally uses Dojo for Ajax communications. [ November 11, 2008: Message edited by: Yohan Liyanage ]
subject: Apache Struts 2 Web Application Development and Ajax