File tree Expand file tree Collapse file tree
IntensiveCourse/Lesson4/app/src/main/webapp/jsps Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 <%@ taglib uri =" http://java.sun.com/jsp/jstl/core" prefix =" c" %>
33 <!DOCTYPE html>
44 <html >
5-
5+
66 <head >
77 <title >Students</title >
88 <style type =" text/css" >
1414 <h2>Add / Edit student</h2>
1515 <form action="students" method="post">
1616 <input type="hidden" name="studentId" value="${student.studentId}">
17- First Name: <input type="text" name="firstName" id="firstName" value="${student .firstName }"> <br >
18- Last Name: <input type="text" name="lastName" id="lastName" value="${student .lastName }"> <br >
19- Age: <input type="number" name="age" id="age" value="${student .age }"> <br >
20- Program: <input type="text" name="program" id="program" value="${student .program }"> <br >
21- <input type="submit" value="Save">
17+ <ul >
18+ <li >
19+ <label for="firstName"> First Name:</label >
20+ <input type="text" name="firstName" id="firstName" value="${student .firstName }">
21+ </li >
22+ <li >
23+ <label for="lastName"> Last Name:</label >
24+ <input type="text" name="lastName" id="lastName" value="${student .lastName }">
25+ </li >
26+ <li >
27+ <label for="age"> Age:</label >
28+ <input type="number" name="age" id="age" value="${student .age }">
29+ </li >
30+ <li >
31+ <label for="program"> Program:</label >
32+ <input type="text" name="program" id="program" value="${student .program }">
33+ </li >
34+ <li >
35+ <input type="submit" value="Save">
36+ </li >
37+ </ul >
2238 </form >
2339
2440 <h2 > All Students</h2 >
You can’t perform that action at this time.
0 commit comments