jsp头部加上:
<%@ taglib uri =“http://java.sun.com/jsp/jstl/core”prefix =“c”%>
body中调用:
${customername}
${sessionScope.customername}
<%=request.getSession().getAttribute("customername") %>
jsp头部加上:
<%@ taglib uri =“http://java.sun.com/jsp/jstl/core”prefix =“c”%>
body中调用:
${customername}
${sessionScope.customername}
<%=request.getSession().getAttribute("customername") %>