If you're using Tomcat 5, and you use the Servlet 2.4 schema in your
web.xml, then you can just do this:

  <forum:hasContent content="${attribute}"></forum:hasContent>

If you're not using Tomcat 5 (or some other JSP 2.0 container), then
it's a little harder.  

> -----Original Message-----
> From: Ricky Lee [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, April 06, 2004 2:37 AM
> To: [EMAIL PROTECTED]
> Subject: how to nest a taglib in another taglib?
> 
> 
> hi, thanks for reading..
> 
> i have a problem about nest a taglib in another
> taglib, just like this, what should i do?
> 
> the "attribute" in the page context.
> 
> <forum:hasContent content="<c:out value="${attribute}" 
> />"></forum:hasContent>
> 
> i know that has a way to do like this:
> 
> <bean:define id="new_id" name="attribute"/>
> <forum:hasContent content="<=new_id.toString()>"></forum:hasContent>
> 
> but there is another way to do it?
> 
> 
> please help me....thanks! 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway 
> http://promotions.yahoo.com/design_giveaway/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to