In your model.tld file you must add <rtexprvalue>true</rtexprvalue> inside
<attribute>, to specify that your attribute value may be a runtime
expression to be evalutated.

  []'s,

  Rodrigo.

> -----Mensagem original-----
> De: Atilio Ranzuglia [mailto:[EMAIL PROTECTED]]
> Enviada em: Sexta-feira, 6 de Abril de 2001 09:15
> Para: [EMAIL PROTECTED]
> Assunto: Taglib question
>
>
> Hey everybody:
>
> I'm learning about Tag Libraries, but I have the
> following problem:
>
> (in my jsp file)
> ...
> <% String username = request.getParameter("name"); %>
> ...
> <sample:hello name="<%= username %>" />
>
> Instead of getting (if I use 'Ati' as name): Hello Ati
> I'm getting: Hello <%= username %>
>
> This is an example of Oreilly, but as you can see it
> doesn't work.
>
> Can anybody help me?
>
> Thanks
>
> =====
>
> ---------------------------------
> Ingeniero Atilio Ranzuglia Buteler
> [EMAIL PROTECTED]
> ---------------------------------
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> ==============================================================
> =============
> 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

===========================================================================
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