Meaningless Drivel is fun!
The moose likes Struts and the fly likes Parameter Passing through <html:link> tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Parameter Passing through <html:link> tag" Watch "Parameter Passing through <html:link> tag" New topic

Parameter Passing through <html:link> tag

Steve Adam
Ranch Hand

Joined: Jan 07, 2009
Posts: 40
I want to pass a parameter through url in my <html:link action=" ... "> tag.

I have the following code inside 'while' loop which displays multiple results and each result will have a link. On clicking every link, respective parameter for that link should be passed.

Here is my code:

On the browser, my url becomes,


How can I modify <html:link> tag to retrieve the value of "kunActionForm.getNameID()" ???

Please help !!

Its not what you do, its how well you do it.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Parameter Passing through <html:link> tag
It's not a secret anymore!