struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarnot Voytek Contr AU HQ/SC <Voytek.Jar...@MAXWELL.AF.MIL>
Subject RE: [OT]Still problem with my img / request parameter
Date Tue, 01 Jul 2003 20:56:11 GMT
have you tried ${param.productImage} ?

> -----Original Message-----
> From: Alen Ribic [mailto:alenr@mweb.co.za]
> Sent: Tuesday, July 01, 2003 3:50 PM
> To: Struts Users Mailing List
> Subject: 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
> 

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


Mime
View raw message