Advertisement
GAProgress

updateForm

Apr 14th, 2013
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  2. pageEncoding="ISO-8859-1"%>
  3.  
  4. <%@ page import="db.Building" %>
  5.  
  6. <%
  7. Building building = (Building) request.getAttribute("building");
  8.  
  9. %>
  10. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  11. <html>
  12. <head>
  13. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  14. <title>Update BuildingList</title>
  15. </head>
  16. <body>
  17. <h1>Building List: Update</h1>
  18.  
  19. <form name=updateForm action=updateBuilding method=get>
  20. Building ID:<input type=text name=ID value="<%= building.getBuildingID() %>" /><br />
  21. Building Address:<input type=text name=AD value="<%= building.getBuildingAD() %>" /><br />
  22. Building City:<input type=text name=City value="<%= building.getBuildingCity() %>" /><br />
  23. Building State:<input type=text name=State value="<%= building.getBuildingSt() %>" /><br />
  24. Building Zip:<input type=text name=Zip value="<%= building.getBuildingZip() %>" /><br />
  25. Building Contact:<input type=text name=Contact value="<%= building.getBuildingContact() %>" /><br />
  26. Building Phone:<input type=text name=Phone value="<%= building.getBuildingPhone() %>" /><br />
  27.  
  28. <p>
  29. <input type=submit name=submit value="Update the Building">
  30. </p>
  31.  
  32. </form>
  33.  
  34. </body>
  35. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement