网友回复
可以通过HttpServletRequest与HttpServletResponse来设置session,代码如下:
import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import org.springframework.web.servlet.ModelAndView; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRes...
点击查看剩余70%