The following details how JQuery-Mobile and AngularJS can play together seamlessly. Angular-Route (ngRoute) is used for navigation. A simple Angular directive invokes JQuery-Mobile styling and enhancements as each page is loaded. This includes pages loaded via
This blog demonstrates how to process JSON using Spring 4 Web MVC.
Spring uses Jackson for JSON parsing. Jackson is configured to ignore extra JSON properties that do not match properties of the bean being populated at the @Controller request end-point method.
This blog demonstrates populating complex objects n levels deep thus overcoming some difficulties encountered as per many of the comments in this blog.
This provides for:
A far better user experience as there is no page load. Feedback is immediate.
Ease of development
Ease of validation handling
Support for complex forms
Code portability (think HTML5 clients and single page applications)
This tutorial demonstrates how to handle exceptions in Spring 3 Web MCV.
A Netbeans project is available for download at the bottom of this page.
Custom Message From AJAX Error Handling with jQuery and MVC 3
Both methods allow specific error messages to be returned to the client error handling code. This example applies to .NET c# MVC 3 with jQuery and jQuery form plugin. Before quickly scanning this blog for the solution, please note that the second solution detailed below appears to be a better option. Continue reading →