SpringMVC Freemarker Spring Mybatis

Cannot expose session attribute 'oldMoreCityList' because of an existing model object of the same name

session 重复赋值异常

先通过request.getSession.setAttribute()赋值

再通过ModelAndView同样会报该异常

你可能感兴趣的:(SpringMVC Freemarker Spring Mybatis)