On Wed, 21 Aug 2002, Carlos Barroso wrote:
> Hy guys. I'm trying to do something like this in my JSP file:
>
> <%
> String aux = <xtags:valueOf select="XPath expression"/>
> %>
>
> But I know this doesn't work. How can I put the result of the xtags
> expression in a string variable?
> Can someone help?
With JSTL:
<c:set var="aux">
<xtags:valueOf select="XPath expression"/>
</c:set>
<jsp:useBean id="aux" type="String" />
--
Shawn Bayern
"JSTL in Action" http://www.jstlbook.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>