Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple params in html:link

 
Vineela Devi
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How can I pass multiple parameters using <html:link>?

i.e. If I have an employee object, i have to pass both id and name as params when i click on the link.


Thanks in Advance

Vineela
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The <html:link> tag has a parameter called 'name', which is described by the documentation as follows:
The name of a JSP bean that contains a java.util.Map representing the query parameters (if 'property' is not specified), or a JSP bean whose property getter is called to return a Map (if 'property' is specified).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic