struts-user  

Still problem with my img / request parameter

Alen Ribic
Tue, 01 Jul 2003 13:50:19 -0700

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • Still problem with my img / request parameter Alen Ribic