单项选择题

在HttpSession中写入和读取数据的方法是()

A.setParameter()和getParamter()
B.setAttribute()和getAttribute()
C.addAttribute()和getAttribute()
D.set()和get()