1 Reply Latest reply on Aug 20, 2002 8:11 AM by Mika Kuusela

    Using a scripting variable in a JSP Tag

    Khamsouk Souvanlasy Newbie


      On Jboss 3.0.0 with Jetty, I am trying to use the value of a scripting variable into a parameter of a tag like so:

      <tagLibName:tagname myparam='<%= someExpression %>'/>

      However, what is being passed to my tag in its setter method is the string <%= resultOfSomeExpression => and not the result of the expression.

      Also, is there any way to use a JSP tag as the value of a parameter in another JSP tag or will I have to create a scripting variable to store the result, and then pass the value of the scripting variable into the parameter?