[ajug-members] JSP calling a taglib directly

Lee Grey ajug at leegrey.com
Tue Apr 19 16:33:04 EDT 2005


Off the top of my head, I think one way to do this would be to use JSTL's
<c:set> tag to stash the result into the request and then pull it out when
calling someFunction.  You might find some helpful snippets at
http://www.javaalmanac.com.

Good luck,
Lee Grey
Grey Matter
http://www.phishproof.com


-----Original Message-----
From: ajug-members-bounces at ajug.org
[mailto:ajug-members-bounces at ajug.org]On Behalf Of Titus Barik
Sent: Tuesday, April 19, 2005 3:43 PM
To: ajug-members at ajug.org
Subject: [ajug-members] JSP calling a taglib directly


Hi all,

Let's say I have the following tag, which outputs some value "linkoutput":

<sometaglib:out nodeDataName="link" />

I want that tag's output to be passed into a function as a String:

<%
someFunction(..);
%>

How can I do this?

Regards,

--
Titus Barik
http://www.barik.net




_______________________________________________
ajug-members mailing list
ajug-members at ajug.org
http://www.ajug.org/mailman/listinfo/ajug-members




More information about the ajug-members mailing list