On Mon, 30 Sep 2002, Mauro Daniel Ardolino wrote:
> I had success with this, but I need the value to be one of the jsp's
> request parameter. So I've changed the code like this:
>
> <% String c_cli= request.getParameter("c-cli") %>
> <x:transform xml="${xml}" xslt="${xslt}">
> <x:param name="c-cli" value="<%=c_cli%>" />
> </x:transform>
>
> ...but the xsl file receives "<%=c_cli%>" and not "00002" as I expected.
>
> How must I write it? I thought it was right because I've seen some
> previous mails about something similar.
You can use JSTL's 'rt' libraries if you must pass rtexprvalues like
<%=c_cli%>. I'd recommend using JSTL's expression language, however:
<x:para name="c-cli" value="${param["c_cli"]}" />
'param' in the EL refers to request parameters.
--
Shawn Bayern
"JSTL in Action" http://www.jstlbook.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>