Pretend I will know only at runtime what tag is needed to execute. Is
there anyway to do something like the code below?

<%@taglib uri="web-inf/taglib.tld" prefix="test" %>
<%
  String tagToExecute = calculateTagToExecute();
%>
<test:<%= tagToExecute %> />

  []'s,

  Rodrigo.


> -----Mensagem original-----
> De: Mayuresh Kadu [mailto:[EMAIL PROTECTED]]
> Enviada em: Terça-feira, 10 de Abril de 2001 08:30
> Para: [EMAIL PROTECTED]
> Assunto: Re: out.println(TAG-LIB)?
>
>
> well ... u could try out the following
>
> <%@taglib uri="web-inf/taglib.tld" prefix="test" %>
>
> <test:print_message />
>
> this would do the job. Perhaps u could elaborate and then i
> could offer u
> better example !
>
>
> Mayuresh

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to