Created
April 2, 2021 15:40
-
-
Save mmafrar/5f5f25fe4d22ac149b18c61b3c2dbb5a to your computer and use it in GitHub Desktop.
Implementing Spring Boot MVC CRUD operations with JPA and JSP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> | |
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | |
<h1>Update Contact</h1> | |
<form:form method="post" action="/update-contact/${id}"> | |
<table> | |
<tr> | |
<td>Name: </td> | |
<td><form:input path="name"/></td> | |
</tr> | |
<tr> | |
<td>Email: </td> | |
<td><form:input path="email"/></td> | |
</tr> | |
<tr> | |
<td>Country: </td> | |
<td><form:input path="country"/></td> | |
</tr> | |
<tr> | |
<td></td> | |
<td><input type="submit" value="Update" /></td> | |
</tr> | |
</table> | |
</form:form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment