how do I iterate through multiple properties in jsp

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-03-18T23:22:04Z Indexed on 2010/03/18 23:41 UTC
Read the original article Hit count: 171

Filed under:

I'm trying to iterate through a properties file which contains a list of keys like:

message.p1
message.p2
message.p3

I don't know how many properties will be in the file, so I want to display any that are present. Is there a standard tag like <fmt:message> that can handle this, or do I need to write some jsp script to handle the loop?

© Stack Overflow or respective owner

Related posts about jsp