• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multiple parameters by html:link

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to to set multiple paramenters examples
http://www.struts.com/home.do?name=javaranch&id=43
How would I do this with the html:link tag.
Thanks
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By making the tag's "name" attribute point to a java.util.Map (using that JavaBean's name as the value for the name attribute). The Map's keys are the names for query parameters and the values are either individual Strings representing a single value or a String array representing multiple values for the query parameter.
The documentation for <html:link/> can be found from here.
[ March 31, 2004: Message edited by: Lasse Koskela ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic