<c:forEach begin="1" end="${fn:length(list)}" var="i" step="1">
   <c:choose>
   <c:when test="${list[i-1]=='scrolltext'}">
   <div style="margin-left: auto;margin-right:auto; color:red;text-align:center;width:1000px; height:30px;margin-top:10px;">
   <MARQUEE direction="left" scrollDelay="300" style="width:300px; height:28px; font-size:25px;">${list[i]}</MARQUEE>
   </div>
   <c:set var="i" value="${i+1}"></c:set>
   </c:when>
   <c:when test="${list[i-1]=='welcometext'}">
   <div style="margin-left:auto; margin-right:auto; color:blue; text-align:center; width:1000px; height:50px; font-size:40px;margin-top:10px;">
   ${list[i]}
   </div>
   <c:set var="i" value="${i+1}"></c:set>
   </c:when>
   <c:when test="${list[i-1]=='picture'}">
   <div style="margin-left: auto; margin-right:auto; text-align:center; width:1000px; height:${list[i+2]}px;margin-top:10px;">
   <img src="${pageContext.request.contextPath}/hut_oj_index_image/${list[i]}"/>
   <c:set var="i" value="${i+1}"></c:set>
   </div>
   </c:when>
   <c:when test="${list[i-1]=='linkpage_href'}">
   <div style="margin-left:auto; margin-right:auto;width:1000px; height:20px; text-align:center; margin-top:10px;">
   <a href="${list[i]}">${list[i+1]}</a>
   <c:set var="i" value="${i+2}"></c:set>
   </div>
   </c:when>
   </c:choose>
  </c:forEach>
ie和谷歌都能显示的