搞spring mvc 异步处理别忘了配个东西


<mvc:annotation-driven>
	<mvc:async-support default-timeout="3000"/>
</mvc:annotation-driven>

如果不配这个东西,callable里的代码会被直接忽略

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.