This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Question on html:link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Question on html:link" Watch "Question on html:link" New topic
Author

Question on html:link

Saathvik Reddy
Ranch Hand

Joined: Jun 03, 2005
Posts: 228
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

Joined: Feb 08, 2006
Posts: 948
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
 
Consider Paul's rocket mass heater.
 
subject: Question on html:link
 
Similar Threads
How to get parameter using struts Tag
html:link and LookupDispatchAction
how to use html:link to pass two different parameter
Html Link Multiple parameters
Question on html:link