I am new to Struts and have a question on Validator framework. I have a very unique and a dumb requirement where I want to store a username and password in an XML file. Whenever a user logs in into the system, the username and the password entered by him/her will be checked against the username and password stored in the XML file.
For this I want to use the Struts Validation framework. The question is how can I use it to meet my dumb requirement?