This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts html:link problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts html:link problem" Watch "Struts html:link problem" New topic

Struts html:link problem

Ingoba Ningthoujam
Ranch Hand

Joined: Dec 04, 2006
Posts: 90
I put some request parameter in html:link action="..." name.My code is

java.util.HashMap params = new java.util.HashMap();
pageContext.setAttribute("paramsName", params);

<html:link name="paramsName" action="/"/>

How to get this parameters in Action class?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The answer to this question is found in this link under the heading "link".

Consultant, Sima Solutions
I agree. Here's the link:
subject: Struts html:link problem
It's not a secret anymore!