Is there a struts-specific tag allowing me to loop through an array (list)
of strings and have them be printed sequentially? I am currently populating
a template JSP from the database - the way I retrieve the page content is by
tagging a contentID to the end of the request, like this:

http://myserver/app/getpage.do?cid=42

Now, I have a 'related' field in my content table, which is a simpe list of
other page cids. What I need to do is to retrieve go to those other content
entries, retrieve the linktext field and THEN loop through it on my JSP.

Everything until the looping is no problem - at firsthand I was simply
considering to just pull in the data and then pre-process some
HTML/JavaScript tags in my bean that gets the db data. However, after giving
it a second thought I was pretty sure that this is a common task and that
there must be something out there that allows me to loop through an
array/list/enumeration or something.

ANY input would be very welcome.

Cheers,

Michael



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

Reply via email to