Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to <un:instanceOf>

843840Oct 23 2007 — edited Oct 23 2007
I 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!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2007
Added on Oct 23 2007
5 comments
285 views