>From a JavaBeans point of view, the "dyna" attributes are not attributes of the DynaValidatorForm, they are entries in a "map" that is an attribute of the DynaValidatorForm. So, the following should work:
<c:if test="${loginForm.map.singlesignon == '0'}"> </c:if> > -----Original Message----- > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] > > 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]