Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on html:link

 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the typos in my previous post

I am using <html:link> to pass one parameter as shown below
<html:link page="/questions.do?method=add" paramId="questionOid" paramName="question" paramProperty="questionOid">Add</html:link>

which works fine. I have a requirement to pass two parameters. How do i pass two parameters using <html:link>

Thanks in Advance,
Reddy.
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the documentation for that tag: http://struts.apache.org/1.1/userGuide/struts-html.html#link

Look at the section "If you prefer to specify a java.util.Map that contains all of the request parameters to be added to the hyperlink, use one of the following techniques:"

- Brent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic