Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ABC-AIRCRAFT-SERVICE/ABC AIRCRAFT/build/web/editform.jsp
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
40 lines (36 sloc)
1.45 KB
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
<%@page import="java.util.List"%> | |
<%@page contentType="text/html" pageEncoding="UTF-8"%> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>ABC AIRCRAFT SERVICE</title> | |
</head> | |
<body> | |
<%@page import="com.login.SessionClass,com.login.LoginEntity"%> | |
<% | |
int id = Integer.parseInt(request.getParameter("id")); | |
LoginEntity loginEntity= SessionClass.getRecordById(id); | |
%> | |
<h1>Edit Form</h1> | |
<form action="edituser.jsp" method="post"> | |
<tr><td>Id:</td><td> | |
<input type="text" name="name" value="<%= loginEntity.getId()%>"/></td></tr> | |
<tr><td>Name:</td><td> | |
<input type="text" name="name" value="<%= loginEntity.getName()%>"/></td></tr> | |
<tr><td>Age:</td><td> | |
<input type="text" name="age" value="<%= loginEntity.getAge()%>"/></td></tr> | |
<tr><td>Manufacture Year:</td><td> | |
<input type="text" name="myear" value="<%= loginEntity.getMyear()%>"/></td></tr> | |
<tr><td>Aircraft Type:</td><td> | |
<input type="text" name="type" value="<%= loginEntity.getType()%>"/></td></tr> | |
<tr><td>Running Hours:</td><td> | |
<input type="text" name="time" value="<%= loginEntity.getTime()%>"/></td></tr> | |
<tr><td>Maintenance Scheduled/Unscheduled:</td><td> | |
<input type="text" name="schedule" value="<%= loginEntity.getSchedule()%>"/></td></tr> | |
<tr><td colspan="2"><input type="submit" value="Edit User"/></td></tr> | |
</form> | |
</body> | |
</html> | |
</body> | |
</html> |