Configuring Tomcat 6 for JSON
This seems like a silly question, but I haven't really seen a good guide or best practices for getting Tomcat t开发者_高级运维o respond to JSON requests. Does anyone know of one? We'll be handling a lot of requests so I need to consider redundancy and efficiency.
Thanks.
Consider using Jackson oder JSON-Lib to transform your output from within your servlets/controllers.
精彩评论