This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Reading multiple keys from properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Reading multiple keys from properties file" Watch "Reading multiple keys from properties file" New topic
Author

Reading multiple keys from properties file

Nikes Shah
Ranch Hand

Joined: Jul 18, 2007
Posts: 132
Hi Ranchers,

How to read multiple keys from properties file in JSP.
For Ex: if I have two property keys and values like
UPS_ARRAY_1 "Value1"
UPS_ARRAY_2 "Value2"

Is there any method to select multiple keys which sounds similar like "UPS_ARRAY"

Thanks in Advance.


====================================================================

In the middle of difficulty ,lies the Opportunity.

=====================================================================
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216


This will stop once a key is not present.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading multiple keys from properties file
 
Similar Threads
How to Handle Properties
create property fiel with Map
internationalization problem
Read duplicate keys from properties file
Loading Specific Section of a Properties File