版权声明:java洪君 https://blog.csdn.net/qq_43532342/article/details/85280085
@Controller
@RequestMapping("/spittle")
public class SpittleController {
@RequestMapping("/model")
public String info(HttpSession httpSession,HttpServletRequest request){
httpSession.setAttribute("jfr","ghg");
HttpSession session = request.getSession();
session.setAttribute("fgf","14");
return "";
}
}