@ResponseBody not producing XML in Java 6
问题 I have a Spring MVC 3/J2EE Project. The jsp rendering controllers are working fine, but the one controller that renders XML for Ajax is not working. I am using JDK 1.6 in RAD 7.5 so JAXB should be on the classpath, and I've even tried adding the latest JAXB jars to the lib file to make sure. I still get a 406 error when I make the call. My DOJO call has handleAs: "xml" , and I've confirmed that application/xml is on the Accept header via FireBug. I have the <mvc:annotation-driven /> line in