On Mon, 15 Jul 2002, Tim Ringwood wrote:

> <%  String xmlReq = request.getParameter("xml"); %>
> 
> <%@taglib uri="http://java.sun.com/jstl/core";
> prefix="c" %>
> <%@taglib uri="http://java.sun.com/jstl/xml";
> prefix="x" %>
> 
> <c:import url="generic.xsl" var="xslt"/>
> <c:import url="<%=xmlReq%>" var="xml"/>
> <x:transform  xml="${xml}" xslt="${xslt}"/>

You cannot use rtexprvalues in the EL versions of JSTL tags.  Replace the
second line with the following:

  <c:import url="${param.xmlReq}" var="xml" />

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com
(coming in July 2002 from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to