Thank Venu.
I guess I should explian a little more ;-)
I am using a collection, and want to set disabled = true if the user is of a certain type and not otherwise. Right now the code looks like :
<html:select property="agencyNo">
<html

ptionsCollection name="sessionData"
property="agencyList" label="label" value="value"/>
</html:select>
I want to embed a Struts/JSTL tag in the html:select tag that tests the value of another string ... something like this :
<c:set var="testVal" value="true"/>
<html:select property="agencyNo"
disabled="<c

ut value="${testVal}"/>">
<html

ptionsCollection name="sessionData"
property="agencyList"
label="label"
value="value"/>
</html:select>
This code does not compile, because compiler says
Error(162): Attribute: ${testVal}"/ is not a valid attribute name
So I am looking for a way to do this ... any ideas ??