tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <has...@webtuitive.com>
Subject Re: Pass scrape taglib to a method (string)
Date Fri, 29 Aug 2003 22:59:34 GMT
Karen D. Wiens wrote:

> How can I pass the value of the scrape taglib to a method?  It seems to
> me that it should be something like:
> 
> <% // snag text and stick it into 'teststring' 
> 
> String teststring = pageContext.getAttribute( "<scrp:result
> scrape="pj3"/>" );
> 
> %>

One approach:

  <c:set var="teststring"><scrp:result scrape="pj3"/></c:set>

HTH!
-- 
Hassan Schroeder ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.




Mime
View raw message