How to <un:instanceOf>
843840Oct 23 2007 — edited Oct 23 2007I need to use the java instanceof in one of my jsp, but i'd like to use it by tab library.
I tried to use the unstandard taglib of jakarta but it gets me a strange (in my opinion) error.
I used it in the fllowing way:
...
<un:instanceOf type="Class value="${instance}">
do something
</un:instanceOf>
....
The error I got is: "According to TLD, tag un:instanceOf must be empty, but is not"
so.. I don't get how I should use it.. anyone could help me?
thanks!!