You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alen Ribic <al...@mweb.co.za> on 2003/07/01 22:50:13 UTC

Still problem with my img / request parameter

Hi all again

I know that this is not specific to Struts, but I'm just hopping someone can
give me some answer to my problem regarding using JSTL in my Struts project.

I wanna write this:
<img src='../images/items/<%=request.getParameter("productImage")%>"
default="noimg.gif"/>' border='0'>

with no Java code like this:
<img src='../images/items/<c:out value="${productImage}"
default="noimg.gif"/>' border='0'>

But ${productImage} doesn't get my request parameter! :-(
How do I get a value of a specific request parameter in JSTL or using Struts
tag <bean:write />?

Help please.

--Alen




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