users@glassfish.java.net

Include a tag dynamically at runtime

From: Jose Noheda <jose.noheda_at_gmail.com>
Date: Tue, 14 Jul 2009 20:25:31 +0200

Hi,
Say I have developed a tag library which defines a tag. Now I need to
include an invocation to that tag from another tag of my own receiving the
URL and tag name as two parameters.

At design time I would do something like (in a tag file):

<%@ taglib prefix="foo" uri="http://foo.com" %>
<foo:bar />

But how can I replicate that behavior if the url and the tag name are now
inputs (strings)? Any documentation/specification related to the topic?

Regards