this is my code. In that i have written serial number(sequence numver/ index) . i want values in that like 1, 2,3,4....etc....depending on items in tht page.
I think now you will get idea about it. Actually i can write code like [ <% int i=0 %> then i++; ] but i don't want to use scriptlet.. please give me any idea.
Will you be using this sequence number just for rendering purposes, or will it be used to identify a specific item later on, for instance when a user submits an item selection?
If the former, you should probably have a look at the implicit objects made available by the table tag of the Display Tag library.