reset password
Author Message
stridhiryu030363
Posts: 37
Posted 18:09 Feb 18, 2012 |

Trying to retrieve an array object using an index from the same bean.

For example:
${tb.data[${tb.currentTestEntryIndex}]}

However, the compiler doesn't like this. How do I go about doing something like this in the jsp?

cysun
Posts: 2935
Posted 19:59 Feb 18, 2012 |

It should be ${tb.data[tb.currentTestEntryIndex]}.