yatin.baraiya 0 Newbie Poster

Hello all

in my jsp i am using the below tag for label purpose

<%
       Random r = new Random();
    String token = Long.toString(Math.abs(r.nextLong()), 36);
        String bgColor = request.getParameter("COLOR");
        String ch = token.substring(0,6);       
     %>

<s:label name="formName" value="Employee"/>

i want to use this tag as below..

<s:label name="formName" value="<%=val>"/>

but server give me error Struts TLD is not supporting the expression......

is any other way which is help me to resolve my problem.....


Thanks
Yatin Baraiya