GeeCON Prague 2014*
The moose likes Struts and the fly likes Dynamic links Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic links" Watch "Dynamic links" New topic
Author

Dynamic links

A knibbs
Ranch Hand

Joined: Aug 23, 2006
Posts: 158

Hi all I am trying to make dynamic links from an ArrayList of values. I want to make 1 link for each of the OrderIds that is listed in result. I am running into errors trying to put the orderId value from the arraylist where the word HERE is written. Is there a nice manner in which to do this ? The only thing that has come to mind is using a scriptlet which I am really trying to avoid. Any suggestions, or perhaps search terms that I can use that will give me a similar situation to work around ?


thanks in advance for the time.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Seee the section under the heading "link" in this URL. It explains how to dynamically add a parameter to a link.

example:


Merrill
Consultant, Sima Solutions
 
 
subject: Dynamic links