I want to use the cross context feature in a Spring application so I can import some webapp1 JSP into a webapp2 JSP. I\'m using Eclipse STS with the included Tomcat 7.0.42 (
Seems like Spring is not ready for cross context request processing (at least not without a bit of hacking).
FrameworkServlet
always tries to get WebAsyncManager from the request attributes. And the way it is extracted can not work across different contexts (class loaders).
I see two possibilities how to workaround this:
include
JSP tag, which will wrap the original request so that Spring specific attributes are not visible (usually the ones starting with org.springframework
) to the second context.