I'm not familiar with DynaValidatorForm but what does this give you: <c:if test="${loginForm['singlesignon'] == '0'}"> </c:if>
-----Original Message----- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 10:15 AM To: user@struts.apache.org Subject: question about jstl tag c:if Hi I have a struts tag like below <logic:equal name="loginForm" property="singlesignon" value="0"> </logic:equal> I tried to use jstl c:if tag as below <c:if test="${loginForm.singlesignon == '0'}"> </c:if> i get error An error occurred while evaluating custom action attribute "test" with value "${loginForm.singlesignon == '1'}": Unable to find a value for "singlesignon" in object of class "org.apache.struts.validator.DynaValidatorForm" using operator "." (null) in sturts-config.xml file i have defined <form-bean name="loginForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true"> <form-property name="singlesignon" initial="" type="java.lang.String" /> </form-bean> So how can i use this in jstl tag library ashish __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]