alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<td> <td>${visit.pet.type.name} <td>${visit.pet.owner.firstName} ${visit.pet.owner.lastName} </tr> </table> <table width="333"> <tr> <th> Date: <br/> </th> <td> <form:input path="date" size="10" maxlength="10"/> (yyyy-mm-dd) </td> <tr/> <tr> <th valign="top"> Description: <br/> </th> <td> <form:textarea path="description" rows="10" cols="25"/> </td> </tr> <tr> <td colspan="2"> <input type="hidden" name="petId" value="${visit.pet.id}"/> <p class="submit">

</td> </tr> </table> </form:form> <br/> <b>Previous Visits: <table width="333"> <tr> <th>Date <th>Description </tr> <c:forEach var="visit" items="${visit.pet.visits}"> <c:if test="${!visit.new}"> <tr> <td> <td>${visit.description} </tr> </c:if> </c:forEach> </table> <%@ include file="/WEB-INF/jsp/footer.jsp" %>

Other Spring Framework examples (source code examples)

Here is a short list of links related to this Spring Framework visitForm.jsp source code file:

Spring Framework example source code file (visitForm.jsp)

This example Spring Framework source code file (visitForm.jsp) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Spring Framework tags/keywords

add, add, date, date, description, new, visit, visit, visits:, visits:

The Spring Framework visitForm.jsp source code

<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>

<h2>New Visit:

<form:form modelAttribute="visit">
  <b>Pet:
  <table width="333">
    <tr>
    <thead>
      <th>Name
      <th>Birth Date
      <th>Type
      <th>Owner
    </thead>
    </tr>
    <tr>
      <td>${visit.pet.name}
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.