aspose file tools*
The moose likes Beginning Java and the fly likes Reading multiple keys from properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
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: 133
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: 19760
    
  20


This will stop once a key is not present.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Consider Paul's rocket mass heater.
 
subject: Reading multiple keys from properties file