<%@page contentType="text/html; charset=GBK" isELIgnored="false" %>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<c:set var="language" value="Java:J2EE;JSP|VB" scope="page"/>
<%!
  String[] names = {
      "Sun", "Microsoft"};
%>
<html>
<head>
<title>欢迎来到 Shop Stop</title>
</head>
<body>
<H1>显示产品与公司名称</H1>
<c:forEach var="company" items="<%= names %>">${company}  <br/>
</c:forEach>
<br/>
<c:forTokens items="${pageScope.language}" delims=":;|" var="currentName" varStatus="status">  产品编号为 #P000
  <c:out value="${status.count}"/>
  是
  <c:out value="${currentName}"/>
  <br/>
</c:forTokens>
</body>
</html>
