I am not sure if I am understanding this correctly. All I did was add
the following tags to the index.jsp and response.jsp pages

for index.jsp, I added:

     <table border="1">
    <c:forEach var="customer" items="${customers}">
    <tr>
        <td><c:out value="${customer.lastName}"/></td>
        <td><c:out value="${customer.firstName}"/></td>
        <td><c:out value="${customer.phoneHome}" default="no home
phone specified"/></td>
      <td>
        <c:out value="${customer.phoneCell}" escapeXml="false">
          <font color="red">no cell phone specified</font>
        </c:out>
      </td>
    </tr>
    </c:forEach>
    </table>

and for response.jsp, I added:



<table border="1">
  <c:forEach var="customer" items="${customers}">
    <tr>
      <td><c:out value="${customer.lastName}"/></td>
      <td><c:out value="${customer.firstName}"/></td>
      <td><c:out value="${customer.phoneHome}" default="no home phone
specified"/></td>
      <td>
        <c:out value="${customer.phoneCell}" escapeXml="false">
          <font color="red">no cell phone specified</font>
        </c:out>
      </td>
    </tr>



Is that all I am supposed to do to complete the JSTL homework?
  </c:forEach>
</table>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to