Paul,

How about <bean:message key="status.description.<%= expr_evaluated_to_a_byte  %>"/> ?
Not very pretty though.
--
John


At 06:52 pm 22-10-2001 +1000, you wrote:
I am displaying the properties of a bean on a JSP page using the bean:write
tag.  The bean being displayed has a byte property for status.  How can I
resolve this byte status code to it's String description, without putting
Java code into my JSP?  Does bean:write have some sort of fancy feature to
do a lookup against a map stored in the app context?

As a last resort I can create a new bean that has the status description as
a property, but trying to avoid this.

Thanks,

Paul

--
John Yu                       Scioworks Technologies
e: [EMAIL PROTECTED]         w: +(65) 873 5989
w: http://www.scioworks.com  m: +(65) 9782 9610

Reply via email to