This discussion is archived
12 Replies Latest reply: Apr 12, 2007 5:08 AM by 791266 RSS

Reading all related keys from a properties file

807606 Newbie
Currently Being Moderated
I have in my propeties file, keys the following way:
FIRST_DATASOURCE=COM.XYZ.ABCSERVER.JDBC1
SECOND_DATASOURCE=COM.ABC.SERVER2.JDBC1
FIRST_DATASOURCE=COM.123.SERVER3.JDBC3
What is the solution to read all the keys wit _DATASOURCE and return as a string array?

Thanks in advance.