constructor « MVC Controller « Spring Q&A





1. Does a Spring annotated controller necessarily need a default constructor    stackoverflow.com

I have a spring controller that uses annotations. I gave this controller a constructor that takes two arguments. I want both ways of initializing the controller: constructor injection and setter injection.

@Controller("viewQuestionController")
@RequestMapping("/public/viewQuestions")
public ...

2. AbstractWizardFormController Constructor    forum.springsource.org

3. Can't read input stream in controller constructor    forum.springsource.org

Can't read input stream in controller constructor I'm using Spring MVC and am having problems when I put the below code in the contructor of my controller (my subclass of AbstractController). ...

4. Issue with code in Controller constructor    forum.springsource.org

Issue with code in Controller constructor Hello, I have some code in a Spring MVC controller constructor (my subclass of AbstractController) that is not working (the openStream call hangs forever). I'm ...