how to pass variable to Tag class

Discussions

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()%>" >
    </csajsp:repeat>

    please let me know if anybody has any idea on this.
    thanks
  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.

    Srinivas.J
  3. thanks for the reply.

    and by the way i have got the answer.