How do I get the request/response that I can setcookie? Additionally, at the end of this method, how can I can redirect to another page?
@RequestMapping(value = "/dosomething", method = RequestMethod.GET)
public RETURNREDIRECTOBJ dosomething() throws IOException {
....
return returnredirectpagejsp;
}