I've been reading about setting up a secure cookie and how this is important.

I don't understand where I should set this code for my Spring MVC/JSP application. Can someone help me out on this?

Thanks!