File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Question on html:link" Watch "Question on html:link" New topic

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="/" 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,
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Here is the documentation for that tag:

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
I agree. Here's the link:
subject: Question on html:link
Similar Threads
Question on html:link
How to get parameter using struts Tag
how to use html:link to pass two different parameter
html:link and LookupDispatchAction
Html Link Multiple parameters