Tag archives for json

Java/Spring/JSON: Generate JSON with/without viewresolver jsonview / with json-lib-2.3-jdk15
Hello, In this mini article, we will explain the 2 ways to generate JSON from a web application based on Spring MVC: - with the "JSON view resolver" of Spring; - without the "JSON view resolver" of Spring i.e. with the json-lib-2.3-jdk15.jar; Reminder: Classic handler returning to a JSP page due to 'JstlView' ... and the view resolver JstlView is used in the spring ...more»
Spring: Expose all Spring beans as HTTP/AJAX service returning content in JSON format in Spring MVC application
Here, a homemade "securized" solution (questionable ??!!!) allowing the generic calls to Spring bean on server side from the client side with Ajax requests on the format: In fact, this solution exposes the Spring BEANs as a HTTP/AJAX SERVICE, returning a content like JSON objects in a Spring MVC application. This solution uses several technologies: Spring: the HttpRequestHandler interface for the creation ...more»
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.