EJB programming & troubleshooting: how to pass variable to Tag class

  1. how to pass variable to Tag class (2 messages)

    how do i pass another variable to repeat tag.

    suppose if i define one variable as
    <% String xyz="somevalue" %>

    the following works fine but i want to pass another variable xyz :
    <csajsp:repeat name="aa" type="String" reps="<%= org.getABC()%>" >

    please let me know if anybody has any idea on this.
  2. Hi Sandip,

    What do you mean by "another variable xyz"?
    I any programming language one block of code cannot have more than one variable with the same name.

  3. thanks for the reply.

    and by the way i have got the answer.