wood burning stoves 2.0*
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
 
jQuery in Action, 2nd edition
 
subject: Dynamic links
 
Similar Threads
Update Database with the newly entered value
Making a bean collected from a collection in a page, available in a subsequent page
Tomcat 5.0.19 and JSTL
html:link problem
JSP Dynamically generated link needs to be associated with different form and submitted