It sounds like you want to attach parameters to your link? How bout something like this: <jsp:useBean id="paramMap" class="java.util.HashMap"/> ... <c:forEach ... > <c:set target="${paramMap}" property="reasonCode" value="${row.reasonCode}"/> ... <html-el:link action="some/action" name="paramMap"/>
Quoting andy wix <[EMAIL PROTECTED]>: > Hi, > In my jsp page I have an ArrayList of contact objects and I use this to > build an html table; one contact per row. At the end of each table row I > have edit and delete links such that the form looks roughly like: > > Name Number > Fred 1234 edit delete > Barney 2345 edit delete > > What's the best way to identify which link was clicked? > I know I can make each link name unique by using the index used to iterate > through the collection and assign this to the link ID. Then (if I knew how) > I could get JavaScript to identify which link was selected and add this to > the request/session. Does Struts have a 'posher' way of doing this and, if > not, does anyone have the JavaScript required? > > Cheers, > Andy > > _________________________________________________________________ > Want to block unwanted pop-ups? Download the free MSN Toolbar now! > http://toolbar.msn.co.uk/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]