This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on html:link  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!