Version 3.x of the Spring Framework, use [tag:spring] for general Spring related questions.
I'm following this tutorial regarding how to pool objects in Spring. I've followed the instruction written on the tutorial but …
java spring spring-3 spring-aop poolingFrom Spring 3.1, we can use JavaConfig more easily thanks to @Enable* annotations. So I made a WebConfig to set WebMvc …
java spring spring-3I am trying to upload a file and save it on server. But I get: java.lang.IllegalStateException: File has …
java spring-mvc file-upload spring-3 apache-commons-fileuploadI have a java configuration class providing fooBean directly and barBean by component scan. @Configuration @ComponentScan(basePackages = { "com.blah" }) public …
spring dependency-injection spring-3 spring-annotationsI have a controller where works fine, It can register and update an entity, just how the following about to …
spring spring-mvc spring-3 spring-4 spring-mvc-initbinders@Autowired by constructor looks for beans by type. How to inject a bean by name to a constructor using autowired …
spring-annotations spring-3Upgrading my project I'm thinking here about transactions. Well, the thing is I'm not quite sure when should I use …
java spring-3 spring-transactions hibernate3This example is a bit contrived; I've simplified it to remove extraneous details and to focus on the problem I …
spring validation hibernate-validator autowired spring-3My problem is to how to call this. I could do MyObject o = new MyObject(); myController.save(o, "value"); but …
spring-mvc spring-3 spring-test spring-test-mvc