最佳答案
I'm converting a controller to the newer annotation version. In the old version I used to specify the init method in springmvc-servlet.xml using:
<beans>
<bean id="myBean" class="..." init-method="init"/>
</beans>
How can I specify the init method using the annotation version?