> Iam making an application in which the user logs in by entering
> username and password through a Servlet ,
[quoted text clipped - 11 lines]
>
> PLEASE IF ANY ONE CAN HELP>>>>>>>>>
Please don't use all caps. It makes you look rude.
Anyway, you'll need to show us your code + xml file, otherwise noone here
will be able to tell what you're doing wrong.
Have you tried parsing the xml file in an ordinary class? If you can get it
to work there, then you might try in a servlet. This method will be faster
to try/debug.

Signature
Kind regards,
Christophe Vanfleteren