Neither are valid: http://jakarta.apache.org/struts/api/org/apache/struts/taglib/logic/package-summary.html
According to the jstl doc I have, instanceof is reserved, but not implemented. If you are not concerned about subclasses of "foo.MyType", you could probably use this: <c:if test="${myBean.class eq foo.MyType}" > ... </c:if> Larry >>> [EMAIL PROTECTED] 03/21/04 6:31 AM >>> I've tried the Struts logic and the JSTL tag version of instanceof, like these (below), but get errors returned implying that instanceof doesn't exist as a valid option. Does it exist? Am I doing something wrong? Can someone give me an example, please? Thanks, Frank. *** examples *** <logic:instanceof name="myBean" className="foo.MyType"> ... </logic:instanceof> <c:if test="${myBean instanceof foo.MyType}" > ... </c:if> --------------------------------------------------------------------- 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]