Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parameter Passing through <html:link> tag

 
Steve Adam
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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,

http://localhost:8080/KunProject/kunAction.do?parameter='<%=kunActionForm.getNameID()%>'

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

Please help !!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64609
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic