Created
April 2, 2021 15:39
-
-
Save mmafrar/7c2097d8f0dc34a3a412e606d8f4a0a8 to your computer and use it in GitHub Desktop.
Implementing Spring Boot MVC CRUD operations with JPA and JSP
This file contains hidden or 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>Create Contact</h1> | |
| <form:form method="post" action="/create-contact"> | |
| <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="Create"/></td> | |
| </tr> | |
| </table> | |
| </form:form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment