this is my XML file
<atm>
i want to know how can i verify the account no(acno) and password(and password) that i enter in client.java matches with the acno and password in the atm.xml…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
your int acno and int password is storing value of client supplied data.And document doc is having the values from xml.Just call a method say verify(acno,password,doc[acno,password]) and traverse it through doc[acno,password] to find a match.