Re: Problem using dynamic variable as HashMap key



Stan Kulp <stan_kulp@xxxxxxxxx> wrote:
<c:set var = "gameno" value="${rvo.gameNo}" />
<c:out value = "${instantHashMap[gameno]}" />

...it doesn't work.


I have determined that the hashmap key must be a string [...]


So what is the type of the gameNo property of the rvo bean. Note that
database types are irrelevant here. We're looking for where "rvo" comes
from, and the type of its gameNo property according to the JavaBeans
spec.

--
Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation
.