Top "Spring-3" questions

Version 3.x of the Spring Framework, use [tag:spring] for general Spring related questions.

List of Spring Runtime Exceptions

Does anyone know where I can find a list of Spring's (3.0.x) runtime exceptions? I'm talking about exceptions like DataRetrievalFailureException; …

spring exception spring-mvc spring-3 runtimeexception
Cannot find Spring MVC project when creating new web application project using STS?

I'm new to Spring MVC and trying to learn from the internet tutorial such as these good ones from journaldev, …

spring spring-mvc spring-3 sts-springsourcetoolsuite spring-tool-suite
Spring MVC 3 Locale changing using a link not working

Edit: My Spring framework version 3.0.5 A small issue here, The language is not changing when I click the language changer …

spring-mvc internationalization spring-3
Elegant way to get Locale in Spring Controller

I'm looking for a cleaner way (in Spring 3.2) to get the current locale than explicitly calling LocaleContextHolder.getLocale() at the …

java spring-mvc locale spring-3
Spring Configuration Init Method

How can I tell Spring to run that init method? I need to get the Proxied Async class and do …

java spring spring-3
How to programmatically log user in with Spring Security 3.1

What's the proper way to programmatically log a web visitor in under a particular username in Spring and Spring Security 3.1? …

spring spring-mvc spring-security spring-3
Spring 3, Hibernate 4 AutoWired sessionFactory with Generic DAO

Using Spring MVC 3 & Hibernate 4 I'm getting: java.lang.NullPointerException com.daniel.rr.dao.common.DAOImpl.getSession(DAOImpl.java:22) com.…

spring-mvc spring-3 hibernate-4.x hibernate-generic-dao
How to perform logout programmatically in spring 3

I have a spring configuration for logout like follows: <logout logout-url="/abc/logout" logout-success-url="/abc/login"/> Now I …

spring spring-security spring-3
WebRequest and HttpServletRequest in Spring MVC

What is the difference between the two? Both have a getParameter method as well as setAttribute method, then where comes …

java spring spring-mvc spring-3
How to obtain Spring transaction manager instance?

I use annotations to mark methods which should be executed in a transaction. But, in one place I need to …

java spring transactions spring-3 spring-transactions