• 2022-05-28
    在Servlet中有一段代码为: public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException { request.setAttribute('y', new Integer(100)); response.sendRedirect('show.jsp'); }在show.jsp中<%=request.getAttribute('y')%>页面结果为 ( )。
    A: Integer
    B: java.lang.Integer
    C: 是null
    D: 100