Eddie:

I'm finally up and running on Tomcat 4.0 but now I'm pulling my hair out
trying to get EL to work.  Is it possible to use Struts-EL in conjunction
with Struts tags?

For example:
<bean:define id="beanid" name="MyBean" type="com.custom.bean.MyBean"
scope="session" ignore="true"/>

...later in the page I attempt to iterate through a collection...
<logic:iterate id="map" name="beanid" property="beanMap">
        <html:img src="/images/${map.srcimage}" alt="${map.desc}" border="0"/>
</logic:iterate>

Am I trying to defy the laws of physics, or at least Struts?

Vinh

-----Original Message-----
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 28, 2002 1:33 AM
To: Struts Users Mailing List
Subject: Re: logic:iterate with nested html:img


Ok, you're stuck on older stuff.  Yeah, unfortunately the JSTL stuff
requires a JSP 1.2 compliant container :-(

Use the RTE :-/ ... and upgrade when you can :-)

<html:img src="<%= imgBean.src %>" border=""/>

That help?  Sorry :-( hate to see people stuck on older containers ...

Vinh Tran wrote:

>I assume I will need a JSP 1.2 compliant container to use JSTL, correct? Or
>is it possible to use JSTL with Tomcat 3.2.4?
>
>Vinh
>

--
Eddie Bush




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



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

Reply via email to