I am having trouble getting the model in referenceData() of the new controller.
Here is what I am doing..
In the URL I do see targetModel with the correct data. How do I get it off the URL in my referenceData() of the controller? Please help.
ModelAndView modelAndView = new ModelAndView(new RedirectView("showMyNewTarget.do"));
I have tried both of the following but nothing seems to work.
Map empModel = (Map) request.getAttribute("targetModel");
Can some one please tell me what I am missing here.
Map empModel = (Map) request.getParameterMap();