Hi

I'm trying to iterate throw a list of properties that i have defined in a properties file.

I have loaded the file throw loadProperties()

but within the properties file i have define properties like these:

user.no1.name=tester
user.no2.name=master

What i would like to do is to iterate throw the properties that match this pattern and check and see if it excist or not

So i was thinking of somethng like this

while(true)
  index=1
        temp = getProperty('user.no'+index+'.name')
        if(temp != null)
                do something
        else
                break

I tried using the getProperty method but get this message :

serverdomain.py", line 20, in ?
     [java] NameError: getProperty

anyone have an idea how to do this ??

Med Venlig Hilsen
Henrik Skovhus Poulsen

TDC Kabel TV
KIM
Amager Strandvej 108 A-S-52
0900 Copenhagen
Tlf. +45 66638129
Mobil +45 20712207
Fax +45 32598363
E-mail hspo
@tdc.dk