Version 3.x of the Spring Framework, use [tag:spring] for general Spring related questions.
I am using @Configuration annotation for configuration of spring instead of xml file. I am configuring 2 datasources with different session …
java spring spring-3 spring-annotationsIs it possible to make the @PathVariable to return null if the path variable is not in the url? Otherwise …
java spring-3 spring-annotations path-variablesExample of using @SessionAttributes below. How to clear user session attribute after wizard finished ? In my example after returning to /…
spring-mvc spring-3I have the requirement of returning JSON/XML data from my controller.From what i found,I needed @ResponseBody in …
java xml spring-mvc annotations spring-3@RequestMapping(value = {"/userDetails", "/userDetails/edit/{id}"}, method = RequestMethod.GET) public String userDetails(Map Model,****) { //what goes here? } What will be …
java spring spring-mvc spring-3In spring, you can XML-configure a bean to have a qualifier. I can't seem to find how I can attach …
java spring spring-3I am trying to configure NTLM authentication, but receive error: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration …
java spring spring-security ntlm spring-3I am working with Spring 4.0.7 I did a research about configure Spring MVC through JavaConfig. Practically until yesterday I have …
spring spring-mvc spring-3 spring-4Every single view in my Spring 3 app has a set of attributes they can rely on. So the first line …
java spring spring-mvc spring-3I have a spring 3 application with the configurations given below. When any user tries to access a page and he/…
java spring-mvc spring-security spring-3