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