Thank you for responding. I've tried this and I'm still getting a
syntax error.
I replaced:
> <% // snag text and stick it into 'teststring'
>
> String teststring = pageContext.getAttribute( "<scrp:result
> scrape="pj3"/>" );
With:
<% // snag text and stick it into 'teststring'
<c:set var="teststring"><scrp:result scrape="pj3"/></c:set>;
%>
And got the following error message:
(Thanks again for any help you can give)
Karen
*** Syntax: Unexpected symbol ignored
88.
^-^
*** Syntax: "AssignmentOperator AssignmentExpression" inserted to
complete Assignment
88.
^-^
*** Syntax: ";" inserted to complete ExpressionStatement
88.
<>
*** Syntax: misplaced construct(s)
88.
<>
*** Syntax: ; expected instead of this token
88.
<--->
*** Syntax: Unexpected symbols ignored
-----Original Message-----
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 5:00 PM
To: Tag Libraries Users List
Subject: Re: Pass scrape taglib to a method (string)
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 ----------------------------- [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]