clear « Session « Spring Q&A

1. Spring MVC clear session variable in simpleform controller

I'm using Simple Form Controller and i need to clear the session variable before form is loading.Where exactly we can clear session variable?

2. clear session scope

3. Unable to clear session

Hi, Im using Spring batch 1.1.0 with hibernate 3.2.3. When i run the batch for 2500 records it threw OutOfMemoryError. So i tried clearing the session like Code: session.flush(); session.clear(); but ...