insertFilms.jsp 1.97 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>

<head>

</head>
<body>
    <h1>Ingreso de Empleados</h1>
    <form:form method="POST" action="/films/${films.getFilm_id()}" modelAttribute="films">
        <table>
     

            <tr>
                <td><form:label path="title">Title</form:label> </td> <td><form:input path="title"></form:input></td>              
            </tr>

            <tr>
                <td><form:label path="description">Description</form:label> </td> <td><form:input path="description"></form:input></td>              
            </tr>

            <tr>
                <td><form:label path="release_year">Release year</form:label> </td> <td><form:input path="release_year"></form:input></td>              
            </tr>

            <tr>
                <td><form:label path="language_id">Language id</form:label> </td> <td><form:input path="language_id"></form:input></td>              
            </tr>

            <tr>
                <td><form:label path="rental_duration">Rental duration</form:label> </td> <td><form:input path="rental_duration"></form:input></td>              
            </tr>

            <tr>
                <td><form:label path="rental_rate">Rental rate</form:label> </td> <td><form:input path="rental_rate"></form:input></td>              
            </tr>

            <tr>
                <td><form:label path="length">Lenght</form:label> </td> <td><form:input path="length"></form:input></td>              
            </tr>

            <tr>
                <td><form:label path="replacement_cost">Replacement cost</form:label> </td> <td><form:input path="replacement_cost"></form:input></td>              
            </tr>
            <tr>
                <td><input type="submit" value="subtmit"></td>
            </tr>
        </table>  
    </form:form> 
</body>

</html>