I am having problems writing a servlet to populate a database with values taken from a properties file (a simple text file). I have no problems when the properties file looks like this: x=1 y=2 I can simple use String x = properties.getString("x"); and then enter x into an sql query. However, I need to populate the database from a property file which looks like this: 1 5 2 4 3 3 4 2 5 1 That is, the left column represents a series of values of "x" and the right column a series of values of "y". How do I get these values into my servlet and enter them en masse into a database? Thanks in advance, James