<%@page import="java.util.*, org.w3c.dom.Node, org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.NamedNodeMap, org.xml.sax.*, org.w3c.dom.NodeList, javax.xml.parsers.DocumentBuilder, javax.xml.parsers.DocumentBuilderFactory" %> <% String deleteContactFirstName= request.getParameter("firstName"); String deleteContactLastName = request.getParameter("lastName"); boolean lastNameExists = false; boolean firstNameExists = false; Element contact; int nodeType, count; String primaryInfo = ""; String name = ""; String first = ""; String middle = ""; String last = ""; String nickname = ""; String email = ""; String workEmail = ""; String homeEmail = ""; String alternativeEmail = ""; String addresses = ""; String home = ""; String homeAddress = ""; String homeStreet = ""; String homeSuite_or_Apt = ""; String homeCity = ""; String homeState = ""; String homeZip = ""; String homeCountry = ""; String homePhoneLandline = ""; String homePhoneCell = ""; String homePhoneFax = ""; String homePhonePager = ""; String homeWebsite = ""; String phones = ""; String phoneNumbers = ""; String work = ""; String workAddress = ""; String workStreet = ""; String workSuite_or_Apt = ""; String workCity = ""; String workState = ""; String workZip = ""; String workCountry = ""; String workPhoneLandline = ""; String workPhoneCell = ""; String workPhoneFax = ""; String workPhonePager = ""; String PhoneNumbers = ""; String workWebsite = ""; String Dates = ""; String birthday = ""; String anniversary = ""; String notes = ""; String personalInfo = ""; String spouse = ""; String sName = ""; String sBirthday = ""; String spouseFirst = ""; String spouseMiddle = ""; String spouseLast = ""; int numberOfChildren = 0; %> <%@ include file="contactManagementSystemHeader.html" %>

Contact Management System [Delete Contact]

<% out.print("

Are you sure you want to delete contact   " + deleteContactFirstName + " " + deleteContactLastName); out.print("   from the AddressBook.xml?

"); %>