Spring MVC contains an AjaxUtils class that includes an ajax detection method:
public class AjaxUtils {
public static boolean isAjaxRequest(WebRequest webRequest) {
This application class was modified to detect the Faces-Request parameter that the ICEmobile containers currently send, but the X-Requested-With header set by jQuery should also be considered. Note that we may need to distinguish between full page and ajax requests in the container; however a full-page request should be a new method since the current ice.upload() does not replace the current page with the HTTP response.
Initial Spring MVC support is available in 1.1 BETA.