Oh - cool!  Glad you could upgrade!

All you should have to do is drop the JAR you built into your app's lib 
directory, copy the TLDs over into wherever you keep those, add 
references to the taglibs in your web.xml, declare the taglib in your 
page, and use them just like you would the Struts tags - BUT - you have 
EL support.

If you're running Tomcat 4, why not install the JSTL and use that for 
iteration?  :-)

I don't know what kind of errors you're getting in your page.  I think 
things look like they are setup right.  One thing to remember is that 
the EL is going to expect you to be following JavaBean patterns, so ... 
is map.getSrcImage() valid?  is map.getDesc() valid?  If that's really a 
map, you might want to try accessing it like map['srcImage'] and 
map['desc'].

That's my best guess not knowing what problems you're having.

Vinh Tran wrote:

>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
>

-- 
Eddie Bush




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

Reply via email to