Thursday, December 6, 2001 01:16 PM
I'm a little unclear about what exactly the problem is ... however, from what I can gather:
Obviously you need to use an InputStream to read in the file. Then you could use a default StringTokenizer to grab the values, (provided that each set has some sort of seperating character) throw the name/value pairs into a HashMap, use the containsKey() method to look for the submitted name value, and the get() method to check the password.
Of course there are a ton of ways to parse text, but this is a simple way ... does this speak to your question?