Saturday, January 21, 2012

Custom Jackson's ObjectMapper in Spring Framework

Method No 1: Prevent cross-site scripting when using JSON objects using ESAPI and Jackson framework 1.7.x

 Another link showing JaxbJacksonObjectMapper.

 Another link showing option 3: How to customise the Jackson JSON mapper in Spring Web MVC? Method as described in jackson-module-hibernate

One example of how to write the JSONResult

Example 2: Creating a Login Interceptor in Struts 2 - Same concept can be use to write the JSONResult and configure in Spring

No comments:

Post a Comment