将一个Student类的对象student用名称studobj存储到请求作用域中,下面代码哪个是正确的
选项:
A:equest.setAttribute("student",studobj)
B:equest.addAttribute("student",studobj)
C:equest.setAttribute("studobj" ,student)
D:equest.getAttribute("studobj",student)
发布时间:2024-05-10 20:35:57