stockQuoteDetail.jsp
上传用户:shen332233
上传日期:2021-09-03
资源大小:7478k
文件大小:1k
源码类别:

Ajax

开发平台:

Java

  1. <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
  2. <c:forEach var="quote" items="${quotesArray}">
  3.     
  4.     <table>
  5.         <tbody>
  6.             <tr>
  7.                 <td colspan="2" style="font-weight:bold;">
  8.                     ${quote.companyName} (${quote.stockTicker})
  9.                 </td>
  10.             </tr>
  11.             <tr>
  12.                 <td>Current Price:</td>
  13.                 <td>${quote.stockQuote}</td>
  14.             </tr>
  15.             <tr>
  16.                 <td>Change:</td>
  17.                 <td>${quote.change}</td>
  18.             </tr>
  19.             <tr>
  20.                 <td>Last Updated:</td>
  21.                 <td>${quote.lastUpdated}</td>
  22.             </tr>
  23.         </tbody>
  24.     </table>
  25. </c:forEach>