• 2022-07-25
    中国大学MOOC: 阅读下面代码片段: Servlet1: request.setAttribute(username, 张三);String username=(String) request.getAttribute(username);System.out.println(username:+username);request.setAttribute(username, 李四);username=(String) request.getAttribute(username);System.out.println(username:+username);request.removeAttribute(username);username=(String) request.getAttribute(username);System.out.println(username:+username);当使用浏览器访问Servlet1时控制台会输出什么结果