tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: url variable treated as text
Date Fri, 18 Mar 2005 13:31:50 GMT
Make sure your versions of JSTL, JSP, and web.xml match up nicely. In other
words, if you're using a JSP 2.0 container, then make sure you also have JSTL
1.1 and are using a Servlet 2.4 web.xml.

Quoting scott burns <scottb022563@hotmail.com>:

> Any ideas why this always treats my url variable as text?  The output I see 
> is as follows.
> 
> ${url}http://localhost/myContext/${url}
> 
> 
> <c:url var="url" scope="page" value="/selectServices.do">
>   <c:param name="product" value="${indexVal}"/>
>   <c:param name="action" value="Remove"/>
> </c:url>
> <c:out value="${url}"/><a href="${url}"><html:img 
> page="/images/trashcan.gif"/></a>
> 
> thanks in advance
> 
> scott

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message