I am using \"JSTL\" ans \"struts2\" in my project.I am trying set a value in the scope using JSTL and Struts2 tag as follows,
Struts tags doesn't allow scriptlects in the tag's attributes. But you can try
<%=b%>