John C Cartwright wrote:
I'm trying to create a page using an HTML <img> tag that has as it's src attribute a URL.

my initial attempts were along the line of:

<img src="<c:url value="http://mapserver/servlet/com.esri.wms.Esrimap"; var="url" >
<c:param name="servicename" value="${param.servicename}"/>
</c:url>">


however, the src attribute has the value of empty string in the resulting page. Can someone point out what I'm doing wrong or suggest a better approach?

Take out the var="url", and the URL will be printed. Right now the URL is being stored in that variable. Alternateively, do the <c:url /> stuff first separate from the image tag, and then do <img src="<c:out value="${url}" />">


--
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. [EMAIL PROTECTED]


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



Reply via email to