I have a create account controller:
and I have a a method on that controller:Code:@Controller @SessionAttributes(CreateAccountController.MODEL_ATTRIBUTE) public class CreateAccountController {
However when I attempt to access this url, I get the following exception:Code:@RequestMapping(value=URL_CREATE_ACCOUNT, method=RequestMethod.GET) public String createAccount(@ModelAttribute(MODEL_ATTRIBUTE) CreateAccount createAccount, Map<String,Object> map, SessionStatus sessionStatus) {
How do I force a session to be made?Code:org.springframework.web.HttpSessionRequiredException: No session found - session required for attribute 'createAccount'


Reply With Quote
