>> but now I need to know to which iterator the
>> currently processed entry belongs to, since they
>> have to be treated differently.
> 
> Are the items of the same type?
> 
> If so, I'm not sure what you can do.
> 

In this case numbers is of type double[] and operators is of type
String[]. Would be great if you could tell me how to check for the type.

Actually I thought of another solution. If not using tags but JSP I
would write:

for(int i=0; i<Math.max(numbers.length, operators.length); i++) {
  // check if index exists for numbers and print out "NUMBER"
  // check if index exists for operators and print out "OPERATOR"
}

And I think it is possible to write the same peace of code with tags.
But would you recommend me to go with tags or use JSP?

Best,
Anton

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to