improvements to Owner Controller

- migrated to bean validation annotations
- merged to one single controller
This commit is contained in:
Mic 2013-01-16 10:30:20 +08:00
parent 5432a1932c
commit 0fe479390b
11 changed files with 89 additions and 181 deletions

View file

@ -45,9 +45,9 @@
</tr>
</c:forEach>
</table>
<jsp:include page="../footer.jsp"/>
</div>
<jsp:include page="../footer.jsp"/>
</body>
</html>

View file

@ -824,7 +824,7 @@
<strong>Owner</strong>s by last name.
</li>
<li>
<span style="font-weight: bold; font-style: italic;">org.springframework.samples.petclinic.web.AddOwnerController</span>
<span style="font-weight: bold; font-style: italic;">org.springframework.samples.petclinic.web.OwnerController</span>
is an annotation-driven, POJO <em>Form</em> controller that is used to add a new <strong>Owner</strong>
to the system.
</li>