Init method in Spring Controller (annotation version) December 18, 2022 by Tarik You can use @PostConstruct public void init() { // ... }