For your MessageResources, you might want to put those values in a comma,
delimited list, and then use the String.split(",") to get your items.  JSTL
can also take that string and iterate over it via it's own tags.

Jacob Hookom
Senior Analyst/Programmer
McKesson Medical-Surgical
Golden Valley, Minnesota
http://www.mckesson.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 7:08 AM
To: [EMAIL PROTECTED]
Subject: MessageRessources

Hello,

I have the following scenario. I want to configure the count of items and
the values of these in a drop down list. These entries should be shown in
the language dependency of the browser. So I created some values like:

val.1=house
val.2=dog

and so on.

Unfortunately there is no possibility to read properties with a pattern like
val.x. To do that, I have created a startup-servlet which reads the val.x
items into the servlet context and shows them via the struts tags on the
jsp. The problem is how to show them in the language depedency. Struts
already provides a solution for this issue and I would be interessted how
the different language dependent property files are configured on the
start-up time. Are all config files read and saved in different hashmaps for
each language? I would be happy to hear some proposals about this.

Juraj

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to