Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading multiple keys from properties file  RSS feed

 
Nikes Shah
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21019
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This will stop once a key is not present.
 
brevity is the soul of wit - shakepeare. Tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!